at master 514 B view raw
1diff -ru -x '*~' Python-2.7.1-orig/Python/import.c Python-2.7.1/Python/import.c 2--- Python-2.7.1-orig/Python/import.c 2010-05-20 20:37:55.000000000 +0200 3+++ Python-2.7.1/Python/import.c 2011-01-04 15:55:11.000000000 +0100 4@@ -751,7 +751,7 @@ 5 return NULL; 6 } 7 pyc_mtime = PyMarshal_ReadLongFromFile(fp); 8- if (pyc_mtime != mtime) { 9+ if (pyc_mtime != mtime && mtime != 1) { 10 if (Py_VerboseFlag) 11 PySys_WriteStderr("# %s has bad mtime\n", cpathname); 12 fclose(fp);