Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c89a6f commit c388068Copy full SHA for c388068
1 file changed
Python/import.c
@@ -48,7 +48,9 @@ extern int verbose; /* Defined in pythonrun.c */
48
extern long getmtime(); /* In getmtime.c */
49
50
/* Magic word to reject .pyc files generated by other Python versions */
51
-#define MAGIC 0x999903L /* Increment by one for each incompatible change */
+/* Increment by one for each incompatible change */
52
+/* MPW swaps CR and LF, so their value is incorporated as well */
53
+#define MAGIC (0x999903L ^ (('\n'^10L)<<16) ^ (('\r'^13L)<<8))
54
55
object *import_modules; /* This becomes sys.modules */
56
0 commit comments