Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 12531:84cd52b560e5 legacy-trunk
As Marc-Andre Lemburg points out, the magic number needs to change
because we've added Unicode marshalling to the repertoire.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 28 Apr 2000 19:03:54 +0000 |
| parents | 3500c4350f62 |
| children | cc05edcccf52 |
line wrap: on
line diff
--- a/Python/import.c Fri Apr 28 18:17:23 2000 +0000 +++ b/Python/import.c Fri Apr 28 19:03:54 2000 +0000 @@ -84,7 +84,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 (20121 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24)) /* See _PyImport_FixupExtension() below */ static PyObject *extensions = NULL;
