[Python-Dev] A little GC confusion
Thomas Heller
thomas.heller@ion-tof.com
Thu, 21 Feb 2002 16:01:16 +0100
> > I'm not really sure, but it seems your code does not crash any longer
> > if you remove the Py_TPFLAGS_HAVE_GC from your definition of
> class_metatype_object.
>
> Yes, I'm aware of that. What I don't understand is how the builtin metatype
> gets away with Py_TPFLAGS_HAVE_GC when some of its instance types are not
> even heap-allocated.
>
Hm, I don't understand you, Are you talking about Py_TPFLAGS_HEAPTYPE?
Thomas