]> granicus.if.org Git - python/commitdiff
Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files...
authorChristian Heimes <christian@cheimes.de>
Thu, 27 Mar 2008 09:02:33 +0000 (09:02 +0000)
committerChristian Heimes <christian@cheimes.de>
Thu, 27 Mar 2008 09:02:33 +0000 (09:02 +0000)
Python/import.c

index b65ed0e86afac150956a7d952c1e0d555ecba686..39b3e622c8038a4d74d27b9e8e56c681f472ee45 100644 (file)
@@ -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;