[Twisted-Python] Twisted client memory leak

Phil Mayers p.mayers at imperial.ac.uk
Tue Jan 22 10:54:24 EST 2013

On 22/01/13 15:15, Tristan Seligmann wrote:
> On Tue, Jan 22, 2013 at 3:06 PM, Diego Woitasen <diego at woitasen.com.ar> wrote:
>> I reproduce the problem with a modification of Echo client example
>> from Twisted documentation:
> Adding __del__ methods causes the object to become uncollectable if it

Ah yes, well spotted.

Personally I tend to avoid __del__ in almost all circumstances, but 
particularly using Twisted (not because of anything Twisted-specific, 
but because my Twisted code tends to be *very* long-running, and because 
it's got sane "died" callbacks on most interfaces).

More information about the Twisted-Python mailing list