<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 22, 2013 at 9:15 AM, Tristan Seligmann <span dir="ltr">&lt;<a href="mailto:mithrandi@mithrandi.net" target="_blank">mithrandi@mithrandi.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jan 22, 2013 at 3:06 PM, Diego Woitasen &lt;<a href="mailto:diego@woitasen.com.ar">diego@woitasen.com.ar</a>&gt; wrote:<br>

&gt; I reproduce the problem with a modification of Echo client example<br>
&gt; from Twisted documentation:<br>
<br>
</div>Adding __del__ methods causes the object to become uncollectable if it<br>
forms part of a reference cycle. Thus it is almost always a bad idea<br>
to add __del__ methods when attempting to debug a space leak, as the<br>
most likely outcome is that you introduce a _new_, _different_ leak to<br>
the one you are trying to debug.<br>
--<br>
mithrandi, i Ainil en-Balandor, a faer Ambar<br>
<div class="HOEnZb"><div class="h5"><br>
</div></div></blockquote><div><br></div><div><br></div><div style> Thanks for pointing this out. I was reading through this whole thread and going &quot;why hasn&#39;t anyone else pointed out how wrong it is to add __del__ to debug this yet???&quot;.</div>
<div style><br></div><div style><br></div></div>-- <br>Christopher Armstrong<br><a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://planet-if.com/">http://planet-if.com/</a><br>
<br>
</div></div>