Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dgenobject.c21 exc_state_traverse(_PyErr_StackItem *exc_state, visitproc visit, void *arg) in exc_state_traverse() argument
23 Py_VISIT(exc_state->exc_type); in exc_state_traverse()
24 Py_VISIT(exc_state->exc_value); in exc_state_traverse()
25 Py_VISIT(exc_state->exc_traceback); in exc_state_traverse()
102 exc_state_clear(_PyErr_StackItem *exc_state) in exc_state_clear() argument
105 t = exc_state->exc_type; in exc_state_clear()
106 v = exc_state->exc_value; in exc_state_clear()
107 tb = exc_state->exc_traceback; in exc_state_clear()
108 exc_state->exc_type = NULL; in exc_state_clear()
109 exc_state->exc_value = NULL; in exc_state_clear()
[all …]
/external/python/cpython3/Python/
Dpystate.c585 tstate->exc_state.exc_type = NULL; in new_threadstate()
586 tstate->exc_state.exc_value = NULL; in new_threadstate()
587 tstate->exc_state.exc_traceback = NULL; in new_threadstate()
588 tstate->exc_state.previous_item = NULL; in new_threadstate()
589 tstate->exc_info = &tstate->exc_state; in new_threadstate()
779 Py_CLEAR(tstate->exc_state.exc_type); in PyThreadState_Clear()
780 Py_CLEAR(tstate->exc_state.exc_value); in PyThreadState_Clear()
781 Py_CLEAR(tstate->exc_state.exc_traceback); in PyThreadState_Clear()
784 if (verbose && tstate->exc_info != &tstate->exc_state) { in PyThreadState_Clear()
/external/python/cpython3/Include/cpython/
Dpystate.h85 _PyErr_StackItem exc_state; member