On Tue, Jan 22, 2013 at 12:15 PM, Tristan Seligmann
<mithra...@mithrandi.net> wrote:

> Adding __del__ methods causes the object to become uncollectable if it
> forms part of a reference cycle. Thus it is almost always a bad idea
> to add __del__ methods when attempting to debug a space leak, as the
> most likely outcome is that you introduce a _new_, _different_ leak to
> the one you are trying to debug.

Yes, but note that without the __del__ it had the same behaviour...

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
Twitter: @facundobatista

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to