homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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

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