diff options
author | Guido van Rossum <guido@python.org> | 2000-04-28 19:03:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-28 19:03:54 (GMT) |
commit | 1cb6cd0ec5453d22d224d01ecd824ea9753232de (patch) | |
tree | f5c07cdc9f8d2fca10b3c32665b67a6b088a21bf /Python | |
parent | 40ee7acb950a1f8b1840579a587b29720dd68b0e (diff) | |
download | cpython-1cb6cd0ec5453d22d224d01ecd824ea9753232de.zip cpython-1cb6cd0ec5453d22d224d01ecd824ea9753232de.tar.gz cpython-1cb6cd0ec5453d22d224d01ecd824ea9753232de.tar.bz2 |
As Marc-Andre Lemburg points out, the magic number needs to change
because we've added Unicode marshalling to the repertoire.
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 5340054..c3f890bf 100644 --- a/Python/import.c +++ b/Python/import.c @@ -84,7 +84,7 @@ extern long PyOS_GetLastModificationTime(); /* In getmtime.c */ /* 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; |