Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 13670:4388249506d1 legacy-trunk
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.)
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sun, 23 Jul 2000 09:20:08 +0000 |
| parents | 29da35543833 |
| children | 4eaa463c031a |
line wrap: on
line diff
--- a/Python/import.c Sun Jul 23 00:02:15 2000 +0000 +++ b/Python/import.c Sun Jul 23 09:20:08 2000 +0000 @@ -66,7 +66,7 @@ /* 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
