[Twisted-Python] Re: socket is not closed when connection failed

Yun Mao maoy at cis.upenn.edu
Thu Feb 17 17:27:16 EST 2005

> 2. It probably does not cause fd leaks, since python's gc will likely do
> that. close()ing explicitly is better, obviously.
I ran out of fds once. I guess Python gc doesn't get called very often 
because a socket object doesn't cost too much memory.


More information about the Twisted-Python mailing list