commit | 8b17d6bd89cd79820c76bd88bc064e44fc03a1bd | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Mar 30 13:18:41 1993 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Mar 30 13:18:41 1993 +0000 |
tree | 3d8fd0cc9e8401bdd79980b52db03bfe3b2431e8 | |
parent | 0023078a0b751260acdee7be0b029335f7efe888 [diff] [blame] |
Changes to speed up local variables enormously, by avoiding dictionary lookup (opcode.h, ceval.[ch], compile.c, frameobject.[ch], pythonrun.c, import.c). The .pyc MAGIC number is changed again. Added get_menu_text to flmodule.
diff --git a/Python/import.c b/Python/import.c index 4b7ee13..2171f4b 100644 --- a/Python/import.c +++ b/Python/import.c
@@ -54,7 +54,7 @@ /* Magic word to reject pre-0.9.9 .pyc files */ -#define MAGIC 0x99BE2AL +#define MAGIC 0x99BE3AL static object *modules;