PyHeapTypeObject

Benjamin Peterson benjamin at python.org
Sun Apr 12 19:05:23 EDT 2009


Brendan Miller <catphive <at> catphive.net> writes:

> 
> 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?

Heap types have to do some extra book-keeping like garbage collection.







More information about the Python-list mailing list