/third_party/python/Python/ |
D | errors.c | 80 while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) && in _PyErr_GetTopmostException() 472 *p_type = exc_info->exc_type; in _PyErr_GetExcInfo() 495 oldtype = tstate->exc_info->exc_type; in PyErr_SetExcInfo() 499 tstate->exc_info->exc_type = p_type; in PyErr_SetExcInfo() 568 if (exc_info->exc_type == NULL || exc_info->exc_type == Py_None) { in _PyErr_ChainStackItem() 584 exc2 = exc_info->exc_type; in _PyErr_ChainStackItem() 1235 make_unraisable_hook_args(PyThreadState *tstate, PyObject *exc_type, in make_unraisable_hook_args() argument 1245 #define ADD_ITEM(exc_type) \ in make_unraisable_hook_args() argument 1247 if (exc_type == NULL) { \ in make_unraisable_hook_args() 1248 exc_type = Py_None; \ in make_unraisable_hook_args() [all …]
|
D | sysmodule.c | 74 PyObject *exc_type, *exc_value, *exc_tb; in sys_get_object_id() local 75 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in sys_get_object_id() 79 _PyErr_Restore(tstate, exc_type, exc_value, exc_tb); in sys_get_object_id() 105 PyObject *exc_type, *exc_value, *exc_tb; in PySys_GetObject() local 106 _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); in PySys_GetObject() 110 _PyErr_Restore(tstate, exc_type, exc_value, exc_tb); in PySys_GetObject() 211 PyObject *exc_type, *exc_value, *exc_tb; in sys_audit_tstate() local 212 _PyErr_Fetch(ts, &exc_type, &exc_value, &exc_tb); in sys_audit_tstate() 301 _PyErr_Restore(ts, exc_type, exc_value, exc_tb); in sys_audit_tstate() 305 Py_XDECREF(exc_type); in sys_audit_tstate() [all …]
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | debug.py | 83 def __init__(self, exc_type, exc_value, frames): argument 85 self.exc_type = exc_type 99 lines = traceback.format_exception(self.exc_type, self.exc_value, 119 return self.exc_type, self.exc_value, self.frames[0] 129 return self.exc_type, self.exc_value, tb 134 exc_type, exc_value, tb = exc_info 230 exc_type, exc_value, tb = exc_info
|
/third_party/python/Lib/test/ |
D | _test_atexit.py | 17 def assert_raises_unraisable(self, exc_type, func, *args): argument 23 self.assertEqual(cm.unraisable.exc_type, exc_type) 24 self.assertEqual(type(cm.unraisable.exc_value), exc_type) 129 self.assertEqual(cm.unraisable.exc_type, ZeroDivisionError)
|
D | audit-tests.py | 20 def __init__(self, raise_on_events=None, exc_type=RuntimeError): argument 22 self.exc_type = exc_type 45 raise self.exc_type("saw event " + event) 103 raise_on_events="sys.addaudithook", exc_type=BaseException 274 def excepthook(exc_type, exc_value, exc_tb): argument 275 if exc_type is not RuntimeError: 276 sys.__excepthook__(exc_type, exc_value, exc_tb)
|
D | _test_embed_set_config.py | 139 for exc_type, tests in ( 145 with self.subTest(key=key, value=value, exc_type=exc_type): 146 with self.assertRaises(exc_type):
|
D | test_contextlib_async.py | 74 async def __aexit__(self, exc_type, exc_value, traceback): argument 468 async def _expect_exc(exc_type, exc, exc_tb): argument 469 self.assertIs(exc_type, exc_raised) 472 async def _expect_ok(exc_type, exc, exc_tb): argument 473 self.assertIsNone(exc_type)
|
D | test_traceback.py | 568 exc_type, exc_value, exc_tb = sys.exc_info() 600 exc_type, exc_val, exc_tb = sys.exc_info() 929 exc_type, exc_value, tb = sys.exc_info() 956 exc_type, exc_value, tb = sys.exc_info() 960 return traceback.format_exception(exc_type, exc_value, tb, **kwargs)[1:-1] 1174 self.assertEqual(exc_info[0], exc.exc_type) 1196 self.assertEqual(exc_info[0], exc.exc_type) 1218 self.assertEqual(exc_info[0], exc.exc_type) 1238 self.assertEqual(exc_info[0], exc.exc_type) 1283 self.assertEqual(exc_info[0], exc.exc_type) [all …]
|
/third_party/python/Lib/test/support/ |
D | threading_helper.py | 187 self.exc_type = None 194 self.exc_type = args.exc_type 206 del self.exc_type
|
/third_party/python/Lib/ |
D | traceback.py | 489 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument 505 self.exc_type = exc_type 509 if exc_type and issubclass(exc_type, SyntaxError): 600 if self.exc_type is None: 604 stype = self.exc_type.__qualname__ 605 smod = self.exc_type.__module__ 611 if not issubclass(self.exc_type, SyntaxError):
|
D | py_compile.py | 46 def __init__(self, exc_type, exc_value, file, msg=''): argument 47 exc_type_name = exc_type.__name__ 48 if exc_type is SyntaxError: 50 exc_type, exc_value))
|
D | contextlib.py | 26 def __exit__(self, exc_type, exc_value, traceback): argument 48 async def __aexit__(self, exc_type, exc_value, traceback): argument 448 def _exit_wrapper(exc_type, exc, tb): argument 607 async def _exit_wrapper(exc_type, exc, tb): argument
|
/third_party/python/Lib/xmlrpc/ |
D | server.py | 273 exc_type, exc_value, exc_tb = sys.exc_info() 276 Fault(1, "%s:%s" % (exc_type, exc_value)), 281 exc_type = exc_value = exc_tb = None 372 exc_type, exc_value, exc_tb = sys.exc_info() 376 'faultString' : "%s:%s" % (exc_type, exc_value)} 380 exc_type = exc_value = exc_tb = None 641 exc_type, exc_value = sys.exc_info()[:2] 644 Fault(1, "%s:%s" % (exc_type, exc_value)), 649 exc_type = exc_value = None
|
/third_party/skia/infra/bots/ |
D | git_utils.py | 34 def __exit__(self, exc_type, _value, _traceback): argument 88 def __exit__(self, exc_type, _value, _traceback): argument 92 if exc_type is None:
|
/third_party/python/Modules/_ssl/ |
D | debughelpers.c | 77 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, &ssl_obj->exc_tb); in _PySSL_msg_callback() 143 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, in _PySSL_keylog_callback() 161 PyErr_Fetch(&ssl_obj->exc_type, &ssl_obj->exc_value, &ssl_obj->exc_tb); in _PySSL_keylog_callback()
|
/third_party/python/Modules/_multiprocessing/clinic/ |
D | semaphore.c.h | 362 PyObject *exc_type, 369 PyObject *exc_type = Py_None; in _multiprocessing_SemLock___exit__() local 379 exc_type = args[0]; in _multiprocessing_SemLock___exit__() 389 return_value = _multiprocessing_SemLock___exit___impl(self, exc_type, exc_value, exc_tb); in _multiprocessing_SemLock___exit__()
|
/third_party/python/Lib/multiprocessing/dummy/ |
D | connection.py | 36 def __exit__(self, exc_type, exc_value, exc_tb): argument 74 def __exit__(self, exc_type, exc_value, exc_tb): argument
|
/third_party/python/Lib/ctypes/test/ |
D | test_random_things.py | 42 def expect_unraisable(self, exc_type, exc_msg=None): argument 46 self.assertIsInstance(cm.unraisable.exc_value, exc_type)
|
/third_party/python/Include/internal/ |
D | pycore_pyerrors.h | 20 t = exc_state->exc_type; in _PyErr_ClearExcState() 23 exc_state->exc_type = NULL; in _PyErr_ClearExcState()
|
/third_party/python/Lib/unittest/ |
D | _log.py | 63 def __exit__(self, exc_type, exc_value, tb): argument 68 if exc_type is not None:
|
/third_party/python/Modules/ |
D | _tkinter.c | 1381 PyObject **exc_type, **exc_value, **exc_tb; member 1498 PyErr_Fetch(e->exc_type, e->exc_value, e->exc_tb); in Tkapp_CallProc() 1513 PyErr_Fetch(e->exc_type, e->exc_value, e->exc_tb); in Tkapp_CallProc() 1560 PyObject *exc_type, *exc_value, *exc_tb; in Tkapp_Call() local 1572 ev->exc_type = &exc_type; in Tkapp_Call() 1580 if (exc_type) in Tkapp_Call() 1581 PyErr_Restore(exc_type, exc_value, exc_tb); in Tkapp_Call() 1737 PyObject **exc_type; member 1805 *(ev->exc_type) = exc; in var_perform() 1831 PyObject *res, *exc_type, *exc_val; in var_invoke() local [all …]
|
/third_party/skia/third_party/externals/jinja2/ |
D | debug.py | 23 exc_type, exc_value, tb = sys.exc_info() 73 return exc_type, exc_value, tb_next
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | debug.py | 23 exc_type, exc_value, tb = sys.exc_info() 73 return exc_type, exc_value, tb_next
|
/third_party/python/Modules/_sqlite/clinic/ |
D | connection.c.h | 683 pysqlite_connection_exit_impl(pysqlite_Connection *self, PyObject *exc_type, 690 PyObject *exc_type; in pysqlite_connection_exit() local 697 exc_type = args[0]; in pysqlite_connection_exit() 700 return_value = pysqlite_connection_exit_impl(self, exc_type, exc_value, exc_tb); in pysqlite_connection_exit()
|
/third_party/python/Lib/idlelib/ |
D | stackviewer.py | 137 exc_type, exc_value, exc_tb = sys.exc_info() 139 sys.last_type = exc_type
|