[Python-checkins] CVS: python/dist/src/Python import.c,2.130,2.131

Guido van Rossum python-dev@python.org
Fri, 28 Apr 2000 15:03:57 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
	import.c 
Log Message:
As Marc-Andre Lemburg points out, the magic number needs to change
because we've added Unicode marshalling to the repertoire.


Index: import.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/import.c,v
retrieving revision 2.130
retrieving revision 2.131
diff -C2 -r2.130 -r2.131
*** import.c	2000/04/24 15:08:18	2.130
--- import.c	2000/04/28 19:03:54	2.131
***************
*** 85,89 ****
     added to the .pyc file header? */
  /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
! #define MAGIC (20121 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* See _PyImport_FixupExtension() below */
--- 85,89 ----
     added to the .pyc file header? */
  /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
! #define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24))
  
  /* See _PyImport_FixupExtension() below */