Home
last modified time | relevance | path

Searched refs:exc_state (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Include/internal/
Dpycore_pyerrors.h17 static inline void _PyErr_ClearExcState(_PyErr_StackItem *exc_state) in _PyErr_ClearExcState() argument
20 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()
Dpycore_interp.h304 struct _Py_exc_state exc_state; member
/third_party/python/Python/
Dpystate.c641 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()
/third_party/python/Modules/
D_asynciomodule.c807 _PyErr_StackItem *exc_state = &fut->fut_cancelled_exc_state; in FutureObj_traverse() local
808 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() local
1371 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() local
2698 exc_state->exc_type = et; in task_step_impl()
2699 exc_state->exc_value = ev; in task_step_impl()
[all …]
/third_party/python/Include/cpython/
Dpystate.h95 _PyErr_StackItem exc_state; member
/third_party/python/Objects/
Dgenobject.c23 exc_state_traverse(_PyErr_StackItem *exc_state, visitproc visit, void *arg) in exc_state_traverse() argument
25 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()
Dexceptions.c27 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()