mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Syntax restrictions for lazy imports
This commit is contained in:
parent
07a633f1f4
commit
20b14d9ca4
3 changed files with 175 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ typedef struct _symtable_entry {
|
|||
unsigned ste_method : 1; /* true if block is a function block defined in class scope */
|
||||
unsigned ste_has_conditional_annotations : 1; /* true if block has conditionally executed annotations */
|
||||
unsigned ste_in_conditional_block : 1; /* set while we are inside a conditionally executed block */
|
||||
unsigned ste_in_try_block : 1; /* set while we are inside a try/except block */
|
||||
unsigned ste_in_unevaluated_annotation : 1; /* set while we are processing an annotation that will not be evaluated */
|
||||
int ste_comp_iter_expr; /* non-zero if visiting a comprehension range expression */
|
||||
_Py_SourceLocation ste_loc; /* source location of block */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue