From 681d79aaf397850778608f35585d091fa7fe370a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 18 Jul 1995 14:51:37 +0000 Subject: keyword arguments and faster calls --- Python/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/import.c') diff --git a/Python/import.c b/Python/import.c index 4239e1230f..4a4c3d4fa7 100644 --- a/Python/import.c +++ b/Python/import.c @@ -54,7 +54,7 @@ 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 (0x4127L | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (11913 | ((long)'\r'<<16) | ((long)'\n'<<24)) object *import_modules; /* This becomes sys.modules */ @@ -159,7 +159,7 @@ exec_code_module(name, co) if (dictinsert(d, "__builtins__", getbuiltins()) != 0) return NULL; } - v = eval_code((codeobject *)co, d, d, d, (object *)NULL); + v = eval_code((codeobject *)co, d, d); /* XXX owner? */ if (v == NULL) return NULL; DECREF(v); -- cgit v1.2.1