diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-23 09:20:08 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-23 09:20:08 (GMT) |
commit | 2f2370bfc99e95a4f5edaf4d29cd47afd54fb1b7 (patch) | |
tree | ee4c73ab16c98576d8cf1f5aff0617475d512339 /Python | |
parent | 53e7fd77a704df337bad3e9fae2c7f70430e1be2 (diff) | |
download | cpython-2f2370bfc99e95a4f5edaf4d29cd47afd54fb1b7.zip cpython-2f2370bfc99e95a4f5edaf4d29cd47afd54fb1b7.tar.gz cpython-2f2370bfc99e95a4f5edaf4d29cd47afd54fb1b7.tar.bz2 |
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.)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |