[issue15333] import on Windows will recompile a pyc file created on Unix

2012-07-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Is this the same issue as issue #13863? Judging by Andrew's diagnosis, I think so. -- nosy: +pitrou resolution: -> duplicate status: open -> closed superseder: -> import.c sometimes generates incorrect timestamps on Windows + NTFS ___

[issue15333] import on Windows will recompile a pyc file created on Unix

2012-07-12 Thread Mark Dickinson
Mark Dickinson added the comment: Is this the same issue as issue #13863? -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-

[issue15333] import on Windows will recompile a pyc file created on Unix

2012-07-12 Thread Andrew MacKeith
New submission from Andrew MacKeith : In certain cases, a compiled Python file (.pyc) created on Unix will be recompiled when imported on Windows, despite the original code file (.py) being the same. The cause is the use of the c fstat function in import.c. This behavior is contrary to the sta