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 brett.cannon
Recipients brett.cannon
Date 2010-08-22.22:24:11
SpamBayes Score 5.975695e-07
Marked as misclassified No
Message-id <1282515853.22.0.456551292376.issue9663@psf.upfronthosting.co.za>
In-reply-to
Content
Importlib does not use any OS-level protections to gain exclusivity when opening a file like import.c does through open_exclusive. It probably should, though, when writing bytecode else one might end up with corrupt code. That's bad as bad marshal data is a flat-out import failure and not simply glossed over.

Plus if I don't do this now I will just end up getting a bug report that test_multiprocessing is randomly failing on the buildbots because of this issue since that "precious" little test seems to love to ferret out concurrency issues in importlib.
History
Date User Action Args
2010-08-22 22:24:13brett.cannonsetrecipients: + brett.cannon
2010-08-22 22:24:13brett.cannonsetmessageid: <1282515853.22.0.456551292376.issue9663@psf.upfronthosting.co.za>
2010-08-22 22:24:11brett.cannonlinkissue9663 messages
2010-08-22 22:24:11brett.cannoncreate