[Python-checkins] CVS: python/dist/src/Python import.c,2.173,2.173.2.1

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 20 Apr 2001 08:53:30 -0700


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

Modified Files:
      Tag: iter-branch
	import.c 
Log Message:
Change the PYC magic number, since we're emitting different opcodes.
(This is in the iter-branch.)


Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.173
retrieving revision 2.173.2.1
diff -C2 -r2.173 -r2.173.2.1
*** import.c	2001/03/06 06:31:15	2.173
--- import.c	2001/04/20 15:53:28	2.173.2.1
***************
*** 44,48 ****
     added to the .pyc file header? */
  /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
! #define MAGIC (60202 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* Magic word as global; note that _PyImport_Init() can change the
--- 44,48 ----
     added to the .pyc file header? */
  /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
! #define MAGIC (60420 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* Magic word as global; note that _PyImport_Init() can change the