Re: gc.DEBUG_LEAK and gc.garbage

2005-04-19 Thread "Martin v. Löwis"
Cesar wrote: > I have set the DEBUG_LEAK flag with the GC and in the program cycle > printed the length of the garbage list. Is this enough to determine if > there is a leak in the python code? (the value rises). Well, define "a leak". It could mean a number of things: - an object that is not us

Re: gc.DEBUG_LEAK and gc.garbage

2005-04-19 Thread Skip Montanaro
Cesar> I have set the DEBUG_LEAK flag with the GC and in the program Cesar> cycle printed the length of the garbage list. Is this enough to Cesar> determine if there is a leak in the python code? (the value Cesar> rises). That suggests to me that you have objects with __del__ meth