Author stutzbach
Recipients Jim.Jewett, amaury.forgeotdarc, asvetlov, dstanek, kristjan.jonsson, loewis, pitrou, rhettinger, stutzbach, tim.peters
Date 2012-04-06.20:03:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMMy=Osx_JF881vVZbQkZ9qn7qNd=Hs11eBys6pnGsaWWCtGMA@mail.gmail.com>
In-reply-to <1333741911.38.0.76066357888.issue9141@psf.upfronthosting.co.za>
Content
On Fri, Apr 6, 2012 at 12:51 PM, Jim Jewett <report@bugs.python.org> wrote:

> __del__ methods do run, even if an object was collected by the cycle
> detector.  And they can't do any harm that couldn't also be done by a C
> finalizer.
>

No, if an object with a __del__ method is part of a cycle, it is not
collected.  The objects get appended to gc.garbage instead.

See:  http://docs.python.org/py3k/library/gc.html#gc.garbage
History
Date User Action Args
2012-04-06 20:03:20stutzbachsetrecipients: + stutzbach, tim.peters, loewis, rhettinger, amaury.forgeotdarc, pitrou, kristjan.jonsson, dstanek, asvetlov, Jim.Jewett
2012-04-06 20:03:19stutzbachlinkissue9141 messages
2012-04-06 20:03:19stutzbachcreate