PyTypeObject subclass

Aaron Brady castironpi at gmail.com
Wed Feb 18 22:43:45 CET 2009


Hi,

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?

Thanks.




More information about the Python-list mailing list