From 2f2370bfc99e95a4f5edaf4d29cd47afd54fb1b7 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Sun, 23 Jul 2000 09:20:08 +0000 Subject: Oops. One of last nights ANSIfication patches accidentily upped the bytecode MAGIC number. When updating it next time, be sure it's higher than 50715 * constants. (Shouldn't be a problem if everyone keeps to the proper algorithm.) --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/import.c b/Python/import.c index 46c8469..3c5f624 100644 --- a/Python/import.c +++ b/Python/import.c @@ -66,7 +66,7 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *); /* 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 (50715 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24)) /* Magic word as global; note that _PyImport_Init() can change the value of this global to accommodate for alterations of how the -- cgit v0.12