mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
__builtins__ mods (and sys_checkinterval for ceval.c)
This commit is contained in:
parent
2565bff40a
commit
6135a87f2b
8 changed files with 90 additions and 45 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue