Searched refs:old_exc (Results 1 – 4 of 4) sorted by relevance
474 def _fix_exception_context(new_exc, old_exc): argument478 if exc_context is old_exc:486 new_exc.__context__ = old_exc611 def _fix_exception_context(new_exc, old_exc): argument615 if exc_context is old_exc:623 new_exc.__context__ = old_exc
413 PyObject *old_exc = p->async_exc; in PyThreadState_SetAsyncExc() local417 Py_XDECREF(old_exc); in PyThreadState_SetAsyncExc()
793 PyObject *old_exc = p->async_exc; in PyThreadState_SetAsyncExc() local797 Py_XDECREF(old_exc); in PyThreadState_SetAsyncExc()
1161 old_exc = sys.exc_info()[1]1183 err.original_error = old_exc