17 May
2012
17 May
'12
6:49 p.m.
Ethan Furman wrote:
I would like to have the guarantees for weakrefs strengthened such that any weakref'ed object that has no strong references left will return None instead of the object, even if the object has not yet been garbage collected.
Why do you want this guarantee? It would complicate implementations for which ref counting is not the native method of managing memory. -- Greg