• Home
  • Raw
  • Download

Lines Matching refs:exc_value

103     PyObject *exc_value;  in _PyErr_SetObject()  local
115 exc_value = _PyErr_GetTopmostException(tstate)->exc_value; in _PyErr_SetObject()
116 if (exc_value != NULL && exc_value != Py_None) { in _PyErr_SetObject()
118 Py_INCREF(exc_value); in _PyErr_SetObject()
130 Py_DECREF(exc_value); in _PyErr_SetObject()
141 if (exc_value != value) { in _PyErr_SetObject()
142 PyObject *o = exc_value, *context; in _PyErr_SetObject()
151 PyException_SetContext(value, exc_value); in _PyErr_SetObject()
154 Py_DECREF(exc_value); in _PyErr_SetObject()
439 *p_value = exc_info->exc_value; in PyErr_GetExcInfo()
455 oldvalue = tstate->exc_info->exc_value; in PyErr_SetExcInfo()
459 tstate->exc_info->exc_value = p_value; in PyErr_SetExcInfo()
1109 PyObject *exc_value, PyObject *exc_tb, in make_unraisable_hook_args() argument
1129 ADD_ITEM(exc_value); in make_unraisable_hook_args()
1151 PyObject *exc_value, PyObject *exc_tb, in write_unraisable_exc_file() argument
1243 if (exc_value && exc_value != Py_None) { in write_unraisable_exc_file()
1247 if (PyFile_WriteObject(exc_value, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1272 PyObject *exc_value, PyObject *exc_tb, PyObject *err_msg, in write_unraisable_exc() argument
1283 int res = write_unraisable_exc_file(tstate, exc_type, exc_value, exc_tb, in write_unraisable_exc()
1305 PyObject *exc_value = PyStructSequence_GET_ITEM(args, 1); in _PyErr_WriteUnraisableDefaultHook() local
1310 if (write_unraisable_exc(tstate, exc_type, exc_value, exc_tb, err_msg, obj) < 0) { in _PyErr_WriteUnraisableDefaultHook()
1335 PyObject *exc_type, *exc_value, *exc_tb; in _PyErr_WriteUnraisableMsg() local
1336 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg()
1355 _PyErr_NormalizeException(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg()
1358 if (PyException_SetTraceback(exc_value, exc_tb) < 0) { in _PyErr_WriteUnraisableMsg()
1371 tstate, exc_type, exc_value, exc_tb, err_msg, obj); in _PyErr_WriteUnraisableMsg()
1414 Py_XDECREF(exc_value); in _PyErr_WriteUnraisableMsg()
1416 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in _PyErr_WriteUnraisableMsg()
1420 (void)write_unraisable_exc(tstate, exc_type, exc_value, exc_tb, in _PyErr_WriteUnraisableMsg()
1425 Py_XDECREF(exc_value); in _PyErr_WriteUnraisableMsg()