[Python-Dev] Mysterious Python pyc file corruption problems
barry at python.org
Fri May 17 18:34:34 CEST 2013
On May 16, 2013, at 05:30 PM, Brett Cannon wrote:
>Just so people know, this is how we used to do it. In importlib we
>write the entire file to a temp file and then to an atomic rename.
Yep, and I suspect that our fix, even if we don't completely identify the root
cause, will be to change py_compile.py to do atomic renames. Whether that
would be an appropriate fix for 3.2, 3.3 and 2.7 is a different discussion.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Python-Dev