Home | History | Annotate | Download | only in Python

Lines Matching refs:tstate

27     PyThreadState *tstate = PyThreadState_GET();
39 oldtype = tstate->curexc_type;
40 oldvalue = tstate->curexc_value;
41 oldtraceback = tstate->curexc_traceback;
43 tstate->curexc_type = type;
44 tstate->curexc_value = value;
45 tstate->curexc_traceback = traceback;
78 PyThreadState *tstate = PyThreadState_GET();
80 return tstate->curexc_type;
151 PyThreadState *tstate = NULL;
227 tstate = PyThreadState_GET();
228 if (++tstate->recursion_depth > Py_GetRecursionLimit()) {
229 --tstate->recursion_depth;
239 --tstate->recursion_depth;
246 PyThreadState *tstate = PyThreadState_GET();
248 *p_type = tstate->curexc_type;
249 *p_value = tstate->curexc_value;
250 *p_traceback = tstate->curexc_traceback;
252 tstate->curexc_type = NULL;
253 tstate->curexc_value = NULL;
254 tstate->curexc_traceback = NULL;