[Python-checkins] python/dist/src/Python import.c,2.209,2.210

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Sat, 31 Aug 2002 08:16:17 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv14935

Modified Files:
	import.c 
Log Message:
Because MWH changed the bytecode again, moved the magic number *back*
to 62011.  This should get the snake-farm to throw away its old .pyc
files, amongst others.


Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.209
retrieving revision 2.210
diff -C2 -d -r2.209 -r2.210
*** import.c	15 Aug 2002 14:59:02 -0000	2.209
--- import.c	31 Aug 2002 15:16:14 -0000	2.210
***************
*** 53,56 ****
--- 53,60 ----
         out the MAGIC schemes, so just incremented it by 10.
  
+        GvR, 2002-08-31: Because MWH changed the bytecode again, moved the
+        magic number *back* to 62011.  This should get the snake-farm to
+        throw away its old .pyc files, amongst others.
+ 
     Known values:
         Python 1.5:   20121
***************
*** 65,70 ****
         Python 2.3a0: 62011
         Python 2.3a0: 62021
  */
! #define MAGIC (62021 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* Magic word as global; note that _PyImport_Init() can change the
--- 69,75 ----
         Python 2.3a0: 62011
         Python 2.3a0: 62021
+        Python 2.3a0: 62011 (!)
  */
! #define MAGIC (62011 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* Magic word as global; note that _PyImport_Init() can change the