From: Guido van Rossum Date: Fri, 24 Jan 1997 03:44:53 +0000 (+0000) Subject: New magin number (because of linenumber table). X-Git-Tag: v1.5a1~433 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99d182550b397ef1f7b50ae4384a59e3d7d13bba;p=thirdparty%2FPython%2Fcpython.git New magin number (because of linenumber table). --- diff --git a/Python/import.c b/Python/import.c index cc5b9f938dff..37cfdeb24e36 100644 --- a/Python/import.c +++ b/Python/import.c @@ -67,7 +67,7 @@ extern long getmtime(); /* 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 (20117 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (20121 | ((long)'\r'<<16) | ((long)'\n'<<24)) object *import_modules; /* This becomes sys.modules */