From 1cb6cd0ec5453d22d224d01ecd824ea9753232de Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 28 Apr 2000 19:03:54 +0000 Subject: As Marc-Andre Lemburg points out, the magic number needs to change because we've added Unicode marshalling to the repertoire. --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12