PyTypeObject subclass

Aaron Brady castironpi at
Wed Feb 18 16:43:45 EST 2009


Is it ok to subclass PyTypeObject, so that my custom 'tp_' fields can
appear at the bottom of it?  Is there anything like size requirements
going on in its code?  Or is it better to use 'tp_dict' or slots?


More information about the Python-list mailing list