PyHeapTypeObject

Aaron Brady castironpi at gmail.com
Sat Apr 11 20:41:58 EDT 2009


On Apr 11, 7:36 pm, Brendan Miller <catph... at catphive.net> wrote:
> What's the point of PyHeapTypeObject in Include/object.h? Why does the
> layout of object types need to be different on the heap vs statically
> allocated?
>
> Thanks,
> Brendan

Does it need to be garbage collected, finalized, and deallocated?
E.g. the string in tp_name.

I understand that the 'tp_dict' member is always dynamic though anyway.



More information about the Python-list mailing list