[Python-Dev] reference leaks, __del__, and annotations

Michael Hudson mwh at python.net
Tue Apr 4 08:48:38 CEST 2006


Greg Ewing <greg.ewing at canterbury.ac.nz> writes:
> Michael Hudson wrote:
>>> And if we want to have a version of __del__ that can't reference
>> 'self', we have it already: weakrefs with callbacks.
>> Does that actually work at the moment? Last I heard,
> there was some issue with gc and weakref callbacks
> as well. Has that been resolved?

Talk about FUD. Yes, it works, as far as I know.
Cheers,
mwh
-- 
 <lament> Slashdot karma, unfortunately, is not real karma, because
 it doesn't involve the death of the people who have it
 -- from Twisted.Quotes


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /