if issubclass( Form, CustomForm ): print('yeee') else: print('nope') # always here It seems that _tp_base_ of the inherited class is not set.
Activity
pyscripter commentedon Sep 30, 2022
Indeed, tp_base is never set. Is it important?
Could be fixed in a couple of ways.
__subclasshook__in TPyDelphiObjectpyscripter commentedon Dec 27, 2022
@cosina Could you please confirm it is now working as expected?
Call to inherited removed from RegisterMethods and RegisterGetSets, f…
Fix lmbelo#382