[Twisted-Python] Another tcp.Client question

Benjamin Bruheim grolgh at online.no
Sun Sep 2 04:01:43 EDT 2001


Just out of curiousity:

> -        removeReader(self)
> +        self.stopReading()

That removeReader is _never_ called :) If it were called, the temporary DTP-servers in twisted.ftp would be removed every time I called loseConnection. And it would generate a NameError (I guess), since removeReader resides in main. So, actually this lil' piece of the patch has no effect at all. BTW, what's a good way to close a server? That patch of code does it, but it is overridden elsewhere.

// phed








More information about the Twisted-Python mailing list