From: Guido van Rossum Date: Sun, 21 Jul 1996 02:28:18 +0000 (+0000) Subject: new .pyc magic number (** operator) X-Git-Tag: v1.4b2~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42cd305b252b176a51e1377bd08710726be2999b;p=python new .pyc magic number (** operator) --- diff --git a/Python/import.c b/Python/import.c index a46576db64..d57b681a1f 100644 --- a/Python/import.c +++ b/Python/import.c @@ -55,7 +55,7 @@ extern long getmtime(); /* In getmtime.c */ Apple MPW compiler swaps their values, botching string constants */ /* XXX Perhaps the magic number should be frozen and a version field added to the .pyc file header? */ -#define MAGIC (11913 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (1895 | ((long)'\r'<<16) | ((long)'\n'<<24)) object *import_modules; /* This becomes sys.modules */