[issue13146] Writing a pyc file is not atomic
Barry A. Warsaw
report at bugs.python.org
Mon May 20 23:48:30 CEST 2013
Barry A. Warsaw added the comment:
I'm re-opening this because I'd like to get RM pronouncement on applying a patch to 2.7, 3.2, and 3.3 to make py_compile.py atomically rename its pyc/pyo file.
Attached is a patch for 2.7 based on importlib's approach in 3.4. It should be easy enough to port to Python 3.
----------
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13146>
_______________________________________
More information about the Python-bugs-list
mailing list