Benjamin Peterson benjamin at
Mon Apr 13 01:05:23 CEST 2009

Brendan Miller <catphive <at>> 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