gc.garbage from paramiko

Robert Collins robertc at robertcollins.net
Tue Feb 7 21:29:52 GMT 2006


On Wed, 2006-02-08 at 08:17 +1100, Martin Pool wrote:
> The traceback contains an object representing the stack, which contains
> a copy of all the local variables.   This will cause additional
> references to objects, and might cause them to be retained for longer
> than you would expect.   I'm not sure how it would cause a cycle passing
> through the file-like object, unless for some reason it saved the
> exception info within itself?

By copy of the local variables, I presume you mean a copy of the local
names dictionary ;). No 'user' objects get copied.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060208/c48e77b5/attachment.pgp 


More information about the bazaar mailing list