Nick Coghlan wrote:
> the weakref (WR) and the callback (CB) are in a 
> cycle with each other, so even after CB is invoked and removes WR from the 
> global list of finalizers, the two objects won't go away until the next GC 
> collection cycle.

The CB can drop its reference to the WR when it's invoked.

--
Greg

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to