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 steve.dower
Recipients BreamoreBoy, christian.heimes, ocean-city, steve.dower, stutzbach, tim.golden, zach.ware
Date 2014-08-04.15:21:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407165667.78.0.583749336651.issue10071@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is an appropriate fix, since in most cases there is no need to prevent other Python threads running while inside RegSetValue. There are also other ways that a context switch may occur during the enumeration which will put the program in exactly the same state. (It isn't clear from the patch, but the two sections of changed code are from completely different functions.)

The correct fix should be at the user's application level, or in a higher-level module than _winreg is supposed to be.
History
Date User Action Args
2014-08-04 15:21:07steve.dowersetrecipients: + steve.dower, ocean-city, christian.heimes, tim.golden, stutzbach, BreamoreBoy, zach.ware
2014-08-04 15:21:07steve.dowersetmessageid: <1407165667.78.0.583749336651.issue10071@psf.upfronthosting.co.za>
2014-08-04 15:21:07steve.dowerlinkissue10071 messages
2014-08-04 15:21:07steve.dowercreate