gc.garbage from paramiko

Robey Pointer robey at lag.net
Fri Feb 10 17:55:39 GMT 2006


On 10 Feb 2006, at 1:25, Jan Hudec wrote:

> I have just briefly looked at the code (development head) and indeed
> some of the __del__ methods don't need to be there.
>
> For example SFTP_Client.__del__ - it only calls self.sock.close(), but
> self.sock.__del__ will do that as well and python will call that  
> anyway.

That's another useless one, thanks.  The one we're talking about on  
paramiko that's problematic is SFTPFile, if you want to help out more  
(trying not to spam bazaar-ng too much).

robey





More information about the bazaar mailing list