Searched refs:exc_state (Results 1 – 7 of 7) sorted by relevance
17 static inline void _PyErr_ClearExcState(_PyErr_StackItem *exc_state) in _PyErr_ClearExcState() argument20 t = exc_state->exc_type; in _PyErr_ClearExcState()21 v = exc_state->exc_value; in _PyErr_ClearExcState()22 tb = exc_state->exc_traceback; in _PyErr_ClearExcState()23 exc_state->exc_type = NULL; in _PyErr_ClearExcState()24 exc_state->exc_value = NULL; in _PyErr_ClearExcState()25 exc_state->exc_traceback = NULL; in _PyErr_ClearExcState()
304 struct _Py_exc_state exc_state; member
641 tstate->exc_state.exc_type = NULL; in new_threadstate()642 tstate->exc_state.exc_value = NULL; in new_threadstate()643 tstate->exc_state.exc_traceback = NULL; in new_threadstate()644 tstate->exc_state.previous_item = NULL; in new_threadstate()645 tstate->exc_info = &tstate->exc_state; in new_threadstate()855 Py_CLEAR(tstate->exc_state.exc_type); in PyThreadState_Clear()856 Py_CLEAR(tstate->exc_state.exc_value); in PyThreadState_Clear()857 Py_CLEAR(tstate->exc_state.exc_traceback); in PyThreadState_Clear()860 if (verbose && tstate->exc_info != &tstate->exc_state) { in PyThreadState_Clear()
807 _PyErr_StackItem *exc_state = &fut->fut_cancelled_exc_state; in FutureObj_traverse() local808 Py_VISIT(exc_state->exc_type); in FutureObj_traverse()809 Py_VISIT(exc_state->exc_value); in FutureObj_traverse()810 Py_VISIT(exc_state->exc_traceback); in FutureObj_traverse()1368 _PyErr_StackItem *exc_state = &self->fut_cancelled_exc_state; in _asyncio_Future__make_cancelled_error_impl() local1371 PyException_SetContext(exc, exc_state->exc_value); in _asyncio_Future__make_cancelled_error_impl()1372 exc_state->exc_value = NULL; in _asyncio_Future__make_cancelled_error_impl()2697 _PyErr_StackItem *exc_state = &fut->fut_cancelled_exc_state; in task_step_impl() local2698 exc_state->exc_type = et; in task_step_impl()2699 exc_state->exc_value = ev; in task_step_impl()[all …]
95 _PyErr_StackItem exc_state; member
23 exc_state_traverse(_PyErr_StackItem *exc_state, visitproc visit, void *arg) in exc_state_traverse() argument25 Py_VISIT(exc_state->exc_type); in exc_state_traverse()26 Py_VISIT(exc_state->exc_value); in exc_state_traverse()27 Py_VISIT(exc_state->exc_traceback); in exc_state_traverse()
27 return &interp->exc_state; in get_exc_state()2666 struct _Py_exc_state *state = &interp->exc_state; in _PyExc_Init()2905 struct _Py_exc_state *state = &interp->exc_state; in _PyExc_Fini()