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

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 4 03:08:44 CEST 2006


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?
-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	 | Carpe post meridiam! 	 |
Christchurch, New Zealand	 | (I'm not a morning person.) |
greg.ewing at canterbury.ac.nz	 +--------------------------------------+


More information about the Python-Dev mailing list

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