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 tim.peters
Recipients Guido.van.Rossum, gvanrossum, inglesp, pitrou, tim.golden, tim.peters, vstinner
Date 2014-05-07.03:28:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399433340.81.0.562850861122.issue21435@psf.upfronthosting.co.za>
In-reply-to
Content
Attaching a marginally cleaner version of the patch, with comments.

I think it's clear this addresses _some_ real fatal problems, but they're rare:  for a problem to show up, it has to be the case that finalize() reduces the refcount of the current object to 0, and that this also causes "the immediately previous" object in the gc list to become free'd, or at least untracked from gc.  Then the next "current object" will be taken from an insane gc_next member, and all bets are off.
History
Date User Action Args
2014-05-07 03:29:00tim.peterssetrecipients: + tim.peters, gvanrossum, pitrou, vstinner, tim.golden, inglesp, Guido.van.Rossum
2014-05-07 03:29:00tim.peterssetmessageid: <1399433340.81.0.562850861122.issue21435@psf.upfronthosting.co.za>
2014-05-07 03:29:00tim.peterslinkissue21435 messages
2014-05-07 03:29:00tim.peterscreate