From: Guido van Rossum Date: Fri, 28 Apr 2000 19:03:54 +0000 (+0000) Subject: As Marc-Andre Lemburg points out, the magic number needs to change X-Git-Tag: v2.0b1~1900 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1cb6cd0ec5453d22d224d01ecd824ea9753232de;p=thirdparty%2FPython%2Fcpython.git As Marc-Andre Lemburg points out, the magic number needs to change because we've added Unicode marshalling to the repertoire. --- diff --git a/Python/import.c b/Python/import.c index 53400542fc6b..c3f890bf9812 100644 --- a/Python/import.c +++ b/Python/import.c @@ -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;