Lines Matching refs:exc_details
468 def __exit__(self, *exc_details): argument
469 received_exc = exc_details[0] is not None
496 if cb(*exc_details):
499 exc_details = (None, None, None)
503 _fix_exception_context(new_exc_details[1], exc_details[1])
505 exc_details = new_exc_details
510 fixed_ctx = exc_details[1].__context__
511 raise exc_details[1]
513 exc_details[1].__context__ = fixed_ctx
605 async def __aexit__(self, *exc_details): argument
606 received_exc = exc_details[0] is not None
633 cb_suppress = cb(*exc_details)
635 cb_suppress = await cb(*exc_details)
640 exc_details = (None, None, None)
644 _fix_exception_context(new_exc_details[1], exc_details[1])
646 exc_details = new_exc_details
651 fixed_ctx = exc_details[1].__context__
652 raise exc_details[1]
654 exc_details[1].__context__ = fixed_ctx