summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-20 22:37:19 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-07-20 22:37:19 (GMT)
commit013783c529cfc459d05d261f5053ad7bf7d88c29 (patch)
tree14e1b8205a78e85d9ba688f315cf89f82aad3a20 /Include
parent533a167a713be4a30b92583636cd2323f4c8c3aa (diff)
downloadcpython-013783c529cfc459d05d261f5053ad7bf7d88c29.zip
cpython-013783c529cfc459d05d261f5053ad7bf7d88c29.tar.gz
cpython-013783c529cfc459d05d261f5053ad7bf7d88c29.tar.bz2
move test_trace.py so as not to conflict with future tests for the trace module
Diffstat (limited to 'Include')
-rw-r--r--Include/opcode.h1
-rw-r--r--Include/symtable.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 7ffa359..facadc2 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -123,6 +123,7 @@ extern "C" {
#define LOAD_CLOSURE 135 /* Load free variable from closure */
#define LOAD_DEREF 136 /* Load and dereference from closure cell */
#define STORE_DEREF 137 /* Store into cell */
+#define LOAD_NAME_LOCAL_ONLY 138
/* The next 3 opcodes must be contiguous and satisfy
(CALL_FUNCTION_VAR - CALL_FUNCTION) & 3 == 1 */
diff --git a/Include/symtable.h b/Include/symtable.h
index d5ef96f..22075f0 100644
--- a/Include/symtable.h
+++ b/Include/symtable.h
@@ -88,6 +88,7 @@ PyAPI_FUNC(void) PySymtable_Free(struct symtable *);
#define GLOBAL_IMPLICIT 3
#define FREE 4
#define CELL 5
+#define LOCAL_ONLY 6
/* The following two names are used for the ste_unoptimized bit field */
#define OPT_IMPORT_STAR 1