mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
New MAGIC number (code objects have one more item when marshalled).
This commit is contained in:
parent
62f7d15d0b
commit
dd5db43905
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ extern long getmtime(); /* In getmtime.c */
|
|||
Apple MPW compiler swaps their values, botching string constants */
|
||||
/* XXX Perhaps the magic number should be frozen and a version field
|
||||
added to the .pyc file header? */
|
||||
#define MAGIC (5892 | ((long)'\r'<<16) | ((long)'\n'<<24))
|
||||
/* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
|
||||
#define MAGIC (20117 | ((long)'\r'<<16) | ((long)'\n'<<24))
|
||||
|
||||
object *import_modules; /* This becomes sys.modules */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue