diff Include/opcode.h @ 1354:fccd415e2eb8 legacy-trunk

* bltinmodule.c: removed exec() built-in function. * Grammar: add exec statement; allow testlist in expr statement. * ceval.c, compile.c, opcode.h: support exec statement; avoid optimizing locals when it is used * fileobject.{c,h}: add getfilename() internal function.
author Guido van Rossum <guido@python.org>
date Mon, 18 Oct 1993 17:06:59 +0000
parents 519c25039c6a
children 1940892d2fe3
line wrap: on
line diff
--- a/Include/opcode.h	Mon Oct 18 11:44:47 1993 +0000
+++ b/Include/opcode.h	Mon Oct 18 17:06:59 1993 +0000
@@ -78,6 +78,8 @@
 #define RAISE_EXCEPTION	81
 #define LOAD_LOCALS	82
 #define RETURN_VALUE	83
+#define LOAD_GLOBALS	84
+#define EXEC_STMT	85
 
 #define BUILD_FUNCTION	86
 #define POP_BLOCK	87