[issue13146] Writing a pyc file is not atomic

Antoine Pitrou report at bugs.python.org
Thu Oct 13 19:34:57 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Ok, here is a new patch using O_EXCL.
Also, since import.c is quite different in 3.2, I'm not sure I will bother backporting.

----------
versions:  -Python 3.2
Added file: http://bugs.python.org/file23396/importrename3.patch

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


More information about the Python-bugs-list mailing list