Kaydet (Commit) dd5db439 authored tarafından Guido van Rossum's avatar Guido van Rossum

New MAGIC number (code objects have one more item when marshalled).

üst 62f7d15d
...@@ -66,7 +66,8 @@ extern long getmtime(); /* In getmtime.c */ ...@@ -66,7 +66,8 @@ extern long getmtime(); /* In getmtime.c */
Apple MPW compiler swaps their values, botching string constants */ Apple MPW compiler swaps their values, botching string constants */
/* XXX Perhaps the magic number should be frozen and a version field /* XXX Perhaps the magic number should be frozen and a version field
added to the .pyc file header? */ 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 */ object *import_modules; /* This becomes sys.modules */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment