Searched refs:exc_details (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/ |
D | contextlib.py | 533 def __exit__(self, *exc_details): argument 534 received_exc = exc_details[0] is not None 561 if cb(*exc_details): 564 exc_details = (None, None, None) 568 _fix_exception_context(new_exc_details[1], exc_details[1]) 570 exc_details = new_exc_details 575 fixed_ctx = exc_details[1].__context__ 576 raise exc_details[1] 578 exc_details[1].__context__ = fixed_ctx 667 async def __aexit__(self, *exc_details): argument [all …]
|
D | zipimport.py | 636 exc_details = { 641 flags = _bootstrap_external._classify_pyc(data, fullname, exc_details) 656 data, source_hash, fullname, exc_details)
|
/third_party/python/Lib/test/ |
D | test_contextlib_async.py | 411 def __exit__(self, *exc_details): argument 412 return self.run_coroutine(self.__aexit__(*exc_details)) 470 async def _suppress_exc(*exc_details): argument 481 async def __aexit__(self, *exc_details): argument 482 await self.check_exc(*exc_details) 506 async def __aexit__(self, *exc_details): argument 530 async def suppress_exc(*exc_details): argument 532 saved_details = exc_details
|
D | test_contextlib.py | 620 def _suppress_exc(*exc_details): argument 631 def __exit__(self, *exc_details): argument 632 self.check_exc(*exc_details) 654 def __exit__(self, *exc_details): argument 712 def __exit__(self, *exc_details): argument 721 def __exit__(self, *exc_details): argument 730 def __exit__(self, *exc_details): argument 731 type(self).saved_details = exc_details 758 def suppress_exc(*exc_details): argument 760 saved_details = exc_details [all …]
|
/third_party/python/Lib/importlib/ |
D | _bootstrap_external.py | 585 def _classify_pyc(data, name, exc_details): argument 605 raise ImportError(message, **exc_details) 614 raise ImportError(message, **exc_details) 619 exc_details): argument 640 raise ImportError(message, **exc_details) 643 raise ImportError(f'bytecode is stale for {name!r}', **exc_details) 646 def _validate_hash_pyc(data, source_hash, name, exc_details): argument 666 **exc_details, 979 exc_details = { 984 flags = _classify_pyc(data, fullname, exc_details) [all …]
|
/third_party/python/Doc/library/ |
D | contextlib.rst | 712 def __exit__(self, *exc_details):
|