Python leaks in cyclic garbage collection
googler.1.webmaster at spamgourmet.com
Sat Feb 19 05:10:43 CET 2011
Hi, I have some problems with Python and the garbage collection. In
the following piece of code I create a simple gargabe collection but I
am still wondering why the finalizers are never called - at least on
exit of Py they should be called somehow. What do I miss here? I know,
there is no deterministic way how to resolve this though.
print "Free Foo"
def __init__(self, f):
print "Free Bar"
More information about the Python-list