Home
last modified time | relevance | path

Searched refs:curexc_type (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Python/
Derrors.c39 oldtype = tstate->curexc_type; in PyErr_Restore()
43 tstate->curexc_type = type; in PyErr_Restore()
80 return tstate->curexc_type; in PyErr_Occurred()
248 *p_type = tstate->curexc_type; in PyErr_Fetch()
252 tstate->curexc_type = NULL; in PyErr_Fetch()
Dpystate.c182 tstate->curexc_type = NULL; in new_threadstate()
242 Py_CLEAR(tstate->curexc_type); in PyThreadState_Clear()
/external/python/cpython3/Python/
Derrors.c43 oldtype = tstate->curexc_type; in PyErr_Restore()
47 tstate->curexc_type = type; in PyErr_Restore()
179 return tstate == NULL ? NULL : tstate->curexc_type; in PyErr_Occurred()
339 *p_type = tstate->curexc_type; in PyErr_Fetch()
343 tstate->curexc_type = NULL; in PyErr_Fetch()
Dpystate.c379 tstate->curexc_type = NULL; in new_threadstate()
576 Py_CLEAR(tstate->curexc_type); in PyThreadState_Clear()
/external/python/cpython2/Include/
Dpystate.h75 PyObject *curexc_type; member
Dpyerrors.h87 #define _PyErr_OCCURRED() (_PyThreadState_Current->curexc_type)
/external/python/cpython3/Include/
Dpystate.h239 PyObject *curexc_type; member
Dpyerrors.h111 #define _PyErr_OCCURRED() (PyThreadState_GET()->curexc_type)
/external/python/cpython2/Objects/
Ddictobject.c732 if (tstate != NULL && tstate->curexc_type != NULL) { in PyDict_GetItem()
/external/python/cpython3/Objects/
Ddictobject.c1316 if (tstate != NULL && tstate->curexc_type != NULL) { in PyDict_GetItem()