Home
last modified time | relevance | path

Searched refs:st_stack (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Include/internal/
H A Dpycore_symtable.h32 PyObject *st_stack; /* list: stack of namespace info */ member
/third_party/python/Python/
H A Dsymtable.c250 if ((st->st_stack = PyList_New(0)) == NULL) in symtable_new()
368 Py_XDECREF(st->st_stack); in _PySymtable_Free()
957 size = PyList_GET_SIZE(st->st_stack); in symtable_exit_block()
959 if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0) in symtable_exit_block()
962 st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1); in symtable_exit_block()
977 if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) { in symtable_enter_block()
1478 assert(st->st_stack); in symtable_extend_namedexpr_scope()
1484 size = PyList_GET_SIZE(st->st_stack); in symtable_extend_namedexpr_scope()
1489 ste = (struct _symtable_entry *) PyList_GET_ITEM(st->st_stack, i); in symtable_extend_namedexpr_scope()

Completed in 5 milliseconds