Searched refs:ste_generator (Results 1 – 6 of 6) sorted by relevance
72 ste->ste_generator = 0; in ste_new()1047 if (st->st_cur->ste_generator) { in symtable_visit_stmt()1248 st->st_cur->ste_generator = 1; in symtable_visit_expr()1519 is_generator |= st->st_cur->ste_generator; in symtable_handle_comprehension()1520 st->st_cur->ste_generator = 0; in symtable_handle_comprehension()1538 if (Py_Py3kWarningFlag && st->st_cur->ste_generator) { in symtable_handle_comprehension()1548 st->st_cur->ste_generator |= is_generator; in symtable_handle_comprehension()1559 is_generator = st->st_cur->ste_generator; in symtable_visit_listcomp()1560 st->st_cur->ste_generator = 0; in symtable_visit_listcomp()1565 if (i == 0 && !st->st_cur->ste_generator) { in symtable_visit_listcomp()[all …]
1521 if (c->u->u_ste->ste_generator) { in compiler_lambda()3778 if (ste->ste_generator) in compute_code_flags()
38 unsigned ste_generator : 1; /* true if namespace is a generator */ member
51 unsigned ste_generator : 1; /* true if namespace is a generator */ member
88 ste->ste_generator = 0; in ste_new()1598 st->st_cur->ste_generator = 1; in symtable_visit_expr()1602 st->st_cur->ste_generator = 1; in symtable_visit_expr()1889 if (st->st_cur->ste_generator) { in symtable_handle_comprehension()1901 st->st_cur->ste_generator = is_generator; in symtable_handle_comprehension()
2677 if (c->u->u_ste->ste_generator) { in compiler_lambda()2902 c->u->u_ste->ste_coroutine && c->u->u_ste->ste_generator) in compiler_return()5842 if (ste->ste_generator && !ste->ste_coroutine) in compute_code_flags()5844 if (!ste->ste_generator && ste->ste_coroutine) in compute_code_flags()5846 if (ste->ste_generator && ste->ste_coroutine) in compute_code_flags()5859 !ste->ste_generator) { in compute_code_flags()