[issue13146] Writing a pyc file is not atomic

Charles-François Natali report at bugs.python.org
Mon May 20 23:57:07 CEST 2013


Charles-François Natali added the comment:

IIRC, os.rename() will fail on Windows if the target file already exists.
That's why os.replace() was added.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13146>
_______________________________________


More information about the Python-bugs-list mailing list