PyHeapTypeObject

Benjamin Peterson benjamin at python.org
Mon Apr 13 01:05:23 CEST 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