[Python-3000] Removing __del__

Giovanni Bajo rasky at develer.com
Tue Sep 26 15:32:10 CEST 2006


Jim Jewett wrote:

>>> You say that __del__ is harardous, but I can't see how
>>> weakrefs are less hazardous. As an implicit finalization method,
>>> they live on the fragile assumption that the callback won't hold a
>>> reference to the object: 
> 
>> Nope, not so.
> 
> I think you read "live" as "not trash", but in this particular
> sentence, he meant it as "be useful".

Yes. Sorry for my bad English...
-- 
Giovanni Bajo


More information about the Python-3000 mailing list