diff Python/import.c @ 2844:0261bf5b3819 legacy-trunk

keyword arguments and faster calls
author Guido van Rossum <guido@python.org>
date Tue, 18 Jul 1995 14:51:37 +0000
parents fb3daf9b2456
children d40290e42455
line wrap: on
line diff
--- a/Python/import.c	Tue Jul 18 14:40:09 1995 +0000
+++ b/Python/import.c	Tue Jul 18 14:51:37 1995 +0000
@@ -54,7 +54,7 @@
    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 @@
 		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);