Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_symtable.h32 PyObject *st_stack; /* list: stack of namespace info */ member
/third_party/python/Python/
Dsymtable.c257 if ((st->st_stack = PyList_New(0)) == NULL) in symtable_new()
375 Py_XDECREF(st->st_stack); in _PySymtable_Free()
968 size = PyList_GET_SIZE(st->st_stack); in symtable_exit_block()
970 if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0) in symtable_exit_block()
973 st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1); in symtable_exit_block()
988 if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) { in symtable_enter_block()
1483 assert(st->st_stack); in symtable_extend_namedexpr_scope()
1489 size = PyList_GET_SIZE(st->st_stack); in symtable_extend_namedexpr_scope()
1494 ste = (struct _symtable_entry *) PyList_GET_ITEM(st->st_stack, i); in symtable_extend_namedexpr_scope()