Home
last modified time | relevance | path

Searched refs:old_exc (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/
Dcontextlib.py474 def _fix_exception_context(new_exc, old_exc): argument
478 if exc_context is old_exc:
486 new_exc.__context__ = old_exc
611 def _fix_exception_context(new_exc, old_exc): argument
615 if exc_context is old_exc:
623 new_exc.__context__ = old_exc
/external/python/cpython2/Python/
Dpystate.c413 PyObject *old_exc = p->async_exc; in PyThreadState_SetAsyncExc() local
417 Py_XDECREF(old_exc); in PyThreadState_SetAsyncExc()
/external/python/cpython3/Python/
Dpystate.c793 PyObject *old_exc = p->async_exc; in PyThreadState_SetAsyncExc() local
797 Py_XDECREF(old_exc); in PyThreadState_SetAsyncExc()
/external/python/setuptools/pkg_resources/
D__init__.py1161 old_exc = sys.exc_info()[1]
1183 err.original_error = old_exc