any more sftp fixes?

Jan Hudec bulb at ucw.cz
Thu Dec 1 08:38:39 GMT 2005


On Wed, Nov 30, 2005 at 21:13:53 -0800, Robey Pointer wrote:
> I'm not sure the weakref system will work, though -- I'd pondered  
> that before, but in tests with the python CLI, the weak values were  
> going away as soon as the last "real" reference to them died.  If  
> that's true generally, then the cache has an automatic expiration of  
> zero seconds, making it a lot less useful. :)

Yes. That is specified behaviour of the python garbage collector. You
would need to add a LRU list holding real references.

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051201/4ba52b96/attachment.pgp 


More information about the bazaar mailing list