]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
As Marc-Andre Lemburg points out, the magic number needs to change
authorGuido van Rossum <guido@python.org>
Fri, 28 Apr 2000 19:03:54 +0000 (19:03 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 28 Apr 2000 19:03:54 +0000 (19:03 +0000)
because we've added Unicode marshalling to the repertoire.

Python/import.c

index 53400542fc6b4ecd6cfd8ff7d15111b4dce07d49..c3f890bf98120d1fb66fbe0763838915501f7b14 100644 (file)
@@ -84,7 +84,7 @@ extern long PyOS_GetLastModificationTime(); /* In getmtime.c */
 /* XXX Perhaps the magic number should be frozen and a version field
    added to the .pyc file header? */
 /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
-#define MAGIC (20121 | ((long)'\r'<<16) | ((long)'\n'<<24))
+#define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24))
 
 /* See _PyImport_FixupExtension() below */
 static PyObject *extensions = NULL;