From: Christian Heimes Date: Thu, 27 Mar 2008 09:02:33 +0000 (+0000) Subject: Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files... X-Git-Tag: v2.6a2~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81caa790b603735c05193e9a266991dd9cc72bb2;p=python Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files on the build bots --- diff --git a/Python/import.c b/Python/import.c index b65ed0e86a..39b3e622c8 100644 --- a/Python/import.c +++ b/Python/import.c @@ -80,7 +80,7 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *); /* Magic word as global; note that _PyImport_Init() can change the value of this global to accommodate for alterations of how the compiler works which are enabled by command line switches. */ -static long pyc_magic = MAGIC; +static long pyc_magic = MAGIC+2; /* See _PyImport_FixupExtension() below */ static PyObject *extensions = NULL;