/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 …]
|
/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)
|
/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/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 | 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 | 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 | 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/flutter/skia/infra/bots/ |
D | git_utils.py | 33 def __exit__(self, exc_type, _value, _traceback): argument 87 def __exit__(self, exc_type, _value, _traceback): argument 91 if exc_type is None:
|
/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/libxml2/doc/ |
D | index.py | 226 print sys.exc_type, sys.exc_value 267 print sys.exc_type, sys.exc_value 316 print sys.exc_type, sys.exc_value 356 print sys.exc_type, sys.exc_value 439 print sys.exc_type, sys.exc_value 616 print sys.exc_type, sys.exc_value 665 print sys.exc_type, sys.exc_value 1018 print sys.exc_type, sys.exc_value 1184 print sys.exc_type, sys.exc_value 1210 print sys.exc_type, sys.exc_value [all …]
|
D | queries.py | 48 print sys.exc_type, sys.exc_value 107 print sys.exc_type, sys.exc_value
|
/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/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/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/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/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/boost/tools/build/test/ |
D | test_all.py | 71 exc_type, exc_value, exc_tb = sys.exc_info() 74 "%s" % (exc_type.__name__, exc_value))
|
D | collect_debug_info.py | 326 exc_type, exc_value = sys.exc_info()[0:2] 327 if exc_type is None: 330 exc_type_name = exc_type.__name__
|
/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/ |
D | tuner.py | 305 exc_type, exc_value, _ = sys.exc_info() 307 … "exc_type:{}, exc_value:{}, exc_traceback:{}".format(exc_type, exc_value, traceback.format_exc())) 347 exc_type, exc_value, _ = sys.exc_info() 349 … "exc_type:{}, exc_value:{}, exc_traceback:{}".format(exc_type, exc_value, traceback.format_exc()))
|
/third_party/jinja2/ |
D | debug.py | 23 exc_type, exc_value, tb = sys.exc_info() 73 return exc_type, exc_value, tb_next
|