Searched refs:curexc_type (Results 1 – 5 of 5) sorted by relevance
14 return tstate->curexc_type; in _PyErr_Occurred()
88 PyObject *curexc_type; member
55 oldtype = tstate->curexc_type; in _PyErr_Restore()59 tstate->curexc_type = type; in _PyErr_Restore()434 *p_type = tstate->curexc_type; in _PyErr_Fetch()438 tstate->curexc_type = NULL; in _PyErr_Fetch()
637 tstate->curexc_type = NULL; in new_threadstate()851 Py_CLEAR(tstate->curexc_type); in PyThreadState_Clear()
1125 if (tstate->curexc_type == PyExc_ValueError && in _PyPegen_number_token()