diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-04-28 01:44:22 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-04-28 01:44:22 (GMT) |
commit | 1dfd247c1ba947e99a482eeacfb8cbdecdd45b72 (patch) | |
tree | 24aede540fb2fac7e3fe6502f295b9e4d50bd10b /Include | |
parent | 48050cbbe7cc62e76dbd0fdbf391c183f1c2e30a (diff) | |
download | cpython-1dfd247c1ba947e99a482eeacfb8cbdecdd45b72.zip cpython-1dfd247c1ba947e99a482eeacfb8cbdecdd45b72.tar.gz cpython-1dfd247c1ba947e99a482eeacfb8cbdecdd45b72.tar.bz2 |
remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore
Diffstat (limited to 'Include')
-rw-r--r-- | Include/symtable.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/symtable.h b/Include/symtable.h index 1cfd884..1409cd9 100644 --- a/Include/symtable.h +++ b/Include/symtable.h @@ -43,7 +43,6 @@ typedef struct _symtable_entry { PyObject *ste_children; /* list of child blocks */ PyObject *ste_directives;/* locations of global and nonlocal statements */ _Py_block_ty ste_type; /* module, class, or function */ - int ste_unoptimized; /* false if namespace is optimized */ int ste_nested; /* true if block is nested */ unsigned ste_free : 1; /* true if block has free variables */ unsigned ste_child_free : 1; /* true if a child block has free vars, @@ -108,10 +107,6 @@ PyAPI_FUNC(void) PySymtable_Free(struct symtable *); #define FREE 4 #define CELL 5 -/* The following two names are used for the ste_unoptimized bit field */ -#define OPT_IMPORT_STAR 1 -#define OPT_TOPLEVEL 2 /* top-level names, including eval and exec */ - #define GENERATOR 1 #define GENERATOR_EXPRESSION 2 |