[Python-checkins] CVS: python/dist/src/Python import.c,2.176.2.2,2.176.2.3

Guido van Rossum gvanrossum@users.sourceforge.net
Tue, 17 Jul 2001 09:09:00 -0700


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

Modified Files:
      Tag: descr-branch
	import.c 
Log Message:
New .pyc magic number, in celebration of the imminent 2.2a1 release.


Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.176.2.2
retrieving revision 2.176.2.3
diff -C2 -r2.176.2.2 -r2.176.2.3
*** import.c	2001/07/07 22:55:31	2.176.2.2
--- import.c	2001/07/17 16:08:57	2.176.2.3
***************
*** 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
--- 44,48 ----
     added to the .pyc file header? */
  /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
! #define MAGIC (60717 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* Magic word as global; note that _PyImport_Init() can change the