summaryrefslogtreecommitdiff
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-02-27 22:32:47 +0000
committerGuido van Rossum <guido@python.org>2006-02-27 22:32:47 +0000
commit6cdf23984315241f0ccd2f181156a56bbd2e5ea9 (patch)
tree7fdfca8d94d4461f553e975d3851e1e11e968b2c /Include/opcode.h
parent11907e08ab765306585e619131fc386190d12819 (diff)
downloadcpython-6cdf23984315241f0ccd2f181156a56bbd2e5ea9.tar.gz
PEP 343 -- the with-statement.
This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global).
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 868512fe8d..d8cb2cd480 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -72,13 +72,12 @@ extern "C" {
#define INPLACE_XOR 78
#define INPLACE_OR 79
#define BREAK_LOOP 80
-
+#define WITH_CLEANUP 81
#define LOAD_LOCALS 82
#define RETURN_VALUE 83
#define IMPORT_STAR 84
#define EXEC_STMT 85
#define YIELD_VALUE 86
-
#define POP_BLOCK 87
#define END_FINALLY 88
#define BUILD_CLASS 89