comparison Python/import.c @ 1262:f820e6917f07 legacy-trunk

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.
author Guido van Rossum <guido@python.org>
date Tue, 30 Mar 1993 13:18:41 +0000
parents 1cabc2b6c970
children 14369a5e6167
comparison
equal deleted inserted replaced
1261:2c515f07367a 1262:f820e6917f07
52 extern char *argv0; 52 extern char *argv0;
53 #endif 53 #endif
54 54
55 /* Magic word to reject pre-0.9.9 .pyc files */ 55 /* Magic word to reject pre-0.9.9 .pyc files */
56 56
57 #define MAGIC 0x99BE2AL 57 #define MAGIC 0x99BE3AL
58 58
59 static object *modules; 59 static object *modules;
60 60
61 /* Forward */ 61 /* Forward */
62 static int init_builtin PROTO((char *)); 62 static int init_builtin PROTO((char *));