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 carljm
Recipients carljm, corona10, eelizondo, gregory.p.smith, nascheme, pablogsal, pitrou, shihai1991, steve.dower, tim.peters, vstinner
Date 2020-04-14.17:26:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586885219.9.0.622754372383.issue40255@roundup.psfhosted.org>
In-reply-to
Content
> This may break the garbage collector algorithm that relies on the balance between strong references between objects and its reference count to do the calculation of the isolated cycles.

I don't think it really breaks anything. What happens is that the immortal object appears to the GC to have a very large reference count, even after adjusting for within-cycle references. So cycles including an immortal object are always kept alive, which is exactly the behavior one should expect from an immortal object.
History
Date User Action Args
2020-04-14 17:26:59carljmsetrecipients: + carljm, tim.peters, nascheme, gregory.p.smith, pitrou, vstinner, steve.dower, corona10, pablogsal, eelizondo, shihai1991
2020-04-14 17:26:59carljmsetmessageid: <1586885219.9.0.622754372383.issue40255@roundup.psfhosted.org>
2020-04-14 17:26:59carljmlinkissue40255 messages
2020-04-14 17:26:59carljmcreate