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.
Created on 2010年08月22日 22:24 by brett.cannon, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg114714 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2010年08月22日 22:24 | |
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. |
|||
| msg114716 - (view) | Author: Jesse Noller (jnoller) * (Python committer) | Date: 2010年08月22日 23:02 | |
Nice. |
|||
| msg148780 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2011年12月02日 23:33 | |
Fixed by Issue13146. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:05 | admin | set | github: 53872 |
| 2011年12月02日 23:33:41 | brett.cannon | set | status: open -> closed resolution: out of date messages: + msg148780 superseder: Writing a pyc file is not atomic stage: test needed -> |
| 2010年08月22日 23:02:54 | jnoller | set | nosy:
+ jnoller messages: + msg114716 |
| 2010年08月22日 22:24:11 | brett.cannon | create | |