Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 13930:4eaa463c031a legacy-trunk
Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they
did the same anyway.
I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of
distutils, is it ? Should it try to be compatible with old bytecode version ?
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Fri, 11 Aug 2000 22:15:52 +0000 |
| parents | 4388249506d1 |
| children | 18385172fac0 |
line wrap: on
line diff
--- a/Python/import.c Fri Aug 11 20:39:29 2000 +0000 +++ b/Python/import.c Fri Aug 11 22:15:52 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 (50428 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (50811 | ((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
