[Python-Dev] Mysterious Python pyc file corruption problems
Antoine Pitrou
solipsis at pitrou.net
Fri May 17 08:47:54 CEST 2013
On Thu, 16 May 2013 11:42:30 -0400
Barry Warsaw <barry at python.org> wrote:
> 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.
Please try to reproduce it by adding e.g. some sleep() calls in the
middle of the writing routine.
Regards
Antoine.
More information about the Python-Dev
mailing list