[Python-Dev] Mysterious Python pyc file corruption problems

Barry Warsaw barry at python.org
Thu May 16 17:42:30 CEST 2013


On May 16, 2013, at 08:33 AM, Nick Coghlan wrote:

>Personally, I would be suspicious of developmental web services doing
>auto-reloading while an installer is recompiling the world. I don't have
>enough context to be sure how plausible that is as a possible explanation,
>though.

It's possible that some Python written system service is getting invoked
during the bytecompile-on-installation phase.  But now that we've found cases
of this problem with Python 3.3, I'm less inclined to follow that line of
reasoning since it implements atomic rename.  Unless there's a flaw in
importlib we haven't identified yet.

-Barry


More information about the Python-Dev mailing list