Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 5043:104a646fc7a6 legacy-trunk
New magin number (because of linenumber table).
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 24 Jan 1997 03:44:53 +0000 |
| parents | b82d847b3dcb |
| children | 6bc56259cc4c |
line wrap: on
line diff
--- a/Python/import.c Fri Jan 24 03:44:17 1997 +0000 +++ b/Python/import.c Fri Jan 24 03:44:53 1997 +0000 @@ -67,7 +67,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 (20117 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (20121 | ((long)'\r'<<16) | ((long)'\n'<<24)) object *import_modules; /* This becomes sys.modules */
