diff options
author | Guido van Rossum <guido@python.org> | 1993-10-22 14:26:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-10-22 14:26:06 (GMT) |
commit | 89b3325dc4d6999bb00068e048a76f7eba23a7a5 (patch) | |
tree | e424672e472142bf61273d896395960de6e5212f /Python | |
parent | b3b09c97ce0b40a282553b0366addc879a115eb4 (diff) | |
download | cpython-89b3325dc4d6999bb00068e048a76f7eba23a7a5.zip cpython-89b3325dc4d6999bb00068e048a76f7eba23a7a5.tar.gz cpython-89b3325dc4d6999bb00068e048a76f7eba23a7a5.tar.bz2 |
* import.c (MAGIC): Changed magic word to avoid confusion about exec
function vs. exec statement
* bltinmodule.c: renamed the module to __builtin__.
* posixmodule.c (posix_execv): renamed exec --> execv since it is now a
reserved word.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 2 | ||||
-rw-r--r-- | Python/import.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 3ba8f91..60208a0 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -844,7 +844,7 @@ void initbuiltin() { object *m; - m = initmodule("builtin", builtin_methods); + m = initmodule("__builtin__", builtin_methods); builtin_dict = getmoduledict(m); INCREF(builtin_dict); initerrors(); diff --git a/Python/import.c b/Python/import.c index 4d01daf..f0d4828 100644 --- a/Python/import.c +++ b/Python/import.c @@ -61,7 +61,7 @@ extern char *argv0; /* Magic word to reject .pyc files generated by other Python versions */ -#define MAGIC 0x999901L /* Increment by one for each incompatible change */ +#define MAGIC 0x999902L /* Increment by one for each incompatible change */ static object *modules; |