From 42cd305b252b176a51e1377bd08710726be2999b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 21 Jul 1996 02:28:18 +0000 Subject: [PATCH] new .pyc magic number (** operator) --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.50.1