Circular references not being cleaned up by Py_Finalize()
Christian Heimes
lists at cheimes.de
Tue Mar 25 16:03:15 EDT 2008
blackpawn schrieb:
> So what's the deal here? :) I want all objects to be freed when I
> shut down and their destruction functions to be properly called. Is
> there really no way to make this happen?
Does the Noddy example use GC (Py_TPFLAGS_HAVE_GC)? Container objects
must use the cycle GC or circular referneces aren't broken. Have you
tried calling PyGC_Collect() multiple times?
Christian
More information about the Python-list
mailing list