• Home
  • Raw
  • Download

Lines Matching refs:exc_info

79     _PyErr_StackItem *exc_info = tstate->exc_info;  in _PyErr_GetTopmostException()  local
80 while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) && in _PyErr_GetTopmostException()
81 exc_info->previous_item != NULL) in _PyErr_GetTopmostException()
83 exc_info = exc_info->previous_item; in _PyErr_GetTopmostException()
85 return exc_info; in _PyErr_GetTopmostException()
471 _PyErr_StackItem *exc_info = _PyErr_GetTopmostException(tstate); in _PyErr_GetExcInfo() local
472 *p_type = exc_info->exc_type; in _PyErr_GetExcInfo()
473 *p_value = exc_info->exc_value; in _PyErr_GetExcInfo()
474 *p_traceback = exc_info->exc_traceback; in _PyErr_GetExcInfo()
495 oldtype = tstate->exc_info->exc_type; in PyErr_SetExcInfo()
496 oldvalue = tstate->exc_info->exc_value; in PyErr_SetExcInfo()
497 oldtraceback = tstate->exc_info->exc_traceback; in PyErr_SetExcInfo()
499 tstate->exc_info->exc_type = p_type; in PyErr_SetExcInfo()
500 tstate->exc_info->exc_value = p_value; in PyErr_SetExcInfo()
501 tstate->exc_info->exc_traceback = p_traceback; in PyErr_SetExcInfo()
556 _PyErr_ChainStackItem(_PyErr_StackItem *exc_info) in _PyErr_ChainStackItem() argument
562 if (exc_info == NULL) { in _PyErr_ChainStackItem()
564 exc_info = tstate->exc_info; in _PyErr_ChainStackItem()
568 if (exc_info->exc_type == NULL || exc_info->exc_type == Py_None) { in _PyErr_ChainStackItem()
576 saved_exc_info = tstate->exc_info; in _PyErr_ChainStackItem()
577 tstate->exc_info = exc_info; in _PyErr_ChainStackItem()
584 exc2 = exc_info->exc_type; in _PyErr_ChainStackItem()
585 val2 = exc_info->exc_value; in _PyErr_ChainStackItem()
586 tb2 = exc_info->exc_traceback; in _PyErr_ChainStackItem()
599 tstate->exc_info = saved_exc_info; in _PyErr_ChainStackItem()