mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
As Marc-Andre Lemburg points out, the magic number needs to change
because we've added Unicode marshalling to the repertoire.
This commit is contained in:
parent
40ee7acb95
commit
1cb6cd0ec5
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ extern long PyOS_GetLastModificationTime(); /* In getmtime.c */
|
|||
/* XXX Perhaps the magic number should be frozen and a version field
|
||||
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))
|
||||
#define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24))
|
||||
|
||||
/* See _PyImport_FixupExtension() below */
|
||||
static PyObject *extensions = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue