summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-03-30 13:18:41 (GMT)
committerGuido van Rossum <guido@python.org>1993-03-30 13:18:41 (GMT)
commit8b17d6bd89cd79820c76bd88bc064e44fc03a1bd (patch)
tree3d8fd0cc9e8401bdd79980b52db03bfe3b2431e8 /Python/import.c
parent0023078a0b751260acdee7be0b029335f7efe888 (diff)
downloadcpython-8b17d6bd89cd79820c76bd88bc064e44fc03a1bd.zip
cpython-8b17d6bd89cd79820c76bd88bc064e44fc03a1bd.tar.gz
cpython-8b17d6bd89cd79820c76bd88bc064e44fc03a1bd.tar.bz2
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.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
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 @@ extern char *argv0;
/* Magic word to reject pre-0.9.9 .pyc files */
-#define MAGIC 0x99BE2AL
+#define MAGIC 0x99BE3AL
static object *modules;