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 Jim.Jewett
Recipients Jim.Jewett, Mark.Shannon, gvanrossum, python-dev, rhettinger, vstinner
Date 2012-03-06.16:35:36
SpamBayes Score 2.8865044e-05
Marked as misclassified No
Message-id <1331051737.81.0.0806691062949.issue14205@psf.upfronthosting.co.za>
In-reply-to
Content
Can't this be triggered by non-malicious code that just happened to have a python comparison and get hit with a thread switch?

I'm not sure how often it happens, but today it would not be visible to the user; after the patch, users will see a sporadic failure that they can't easily defend against.

Would it be worth adding a counter to lookdict, so that one modification is OK, but 5 aren't?
History
Date User Action Args
2012-03-06 16:35:37Jim.Jewettsetrecipients: + Jim.Jewett, gvanrossum, rhettinger, vstinner, Mark.Shannon, python-dev
2012-03-06 16:35:37Jim.Jewettsetmessageid: <1331051737.81.0.0806691062949.issue14205@psf.upfronthosting.co.za>
2012-03-06 16:35:37Jim.Jewettlinkissue14205 messages
2012-03-06 16:35:36Jim.Jewettcreate