summaryrefslogtreecommitdiffstats
path: root/Include/frameobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-09 17:53:26 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-09 17:53:26 (GMT)
commit6135a87f2b1474be6caf1bf776024d0c6d10a6d1 (patch)
treee0b23d5b7b9587a76917894a601f311514c80a8b /Include/frameobject.h
parent2565bff40a6d7d06c29b7d7a7a580f78b1d4f169 (diff)
downloadcpython-6135a87f2b1474be6caf1bf776024d0c6d10a6d1.zip
cpython-6135a87f2b1474be6caf1bf776024d0c6d10a6d1.tar.gz
cpython-6135a87f2b1474be6caf1bf776024d0c6d10a6d1.tar.bz2
__builtins__ mods (and sys_checkinterval for ceval.c)
Diffstat (limited to 'Include/frameobject.h')
-rw-r--r--Include/frameobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/frameobject.h b/Include/frameobject.h
index f8ad710..2179de8 100644
--- a/Include/frameobject.h
+++ b/Include/frameobject.h
@@ -40,6 +40,7 @@ typedef struct _frame {
OB_HEAD
struct _frame *f_back; /* previous frame, or NULL */
codeobject *f_code; /* code segment */
+ object *f_builtins; /* builtin symbol table (dictobject) */
object *f_globals; /* global symbol table (dictobject) */
object *f_locals; /* local symbol table (dictobject) */
object *f_owner; /* owner (e.g. class or module) or NULL */
@@ -52,6 +53,7 @@ typedef struct _frame {
int f_iblock; /* index in f_blockstack */
int f_lasti; /* Last instruction if called */
int f_lineno; /* Current line number */
+ int f_restricted; /* Flag set if restricted operations in this scope */
object *f_trace; /* Trace function */
} frameobject;