/third_party/python/Lib/test/ |
H A D | test_exception_variations.py | 305 except* BaseException: 323 except* BaseException: 340 except* BaseException: 354 except* BaseException: 367 except* BaseException: 377 except* BaseException: 388 except* BaseException: 402 except* BaseException: 428 except* BaseException: 449 except* BaseException [all...] |
H A D | test_baseexception.py | 26 if issubclass(object_, BaseException): 179 # BaseException; the ability was not possible until BaseException's 192 # Trying to catch an object that does not inherit from BaseException 200 # Catching an instance of a BaseException subclass won't work. 201 self.catch_fails(BaseException())
|
H A D | audit-tests.py | 76 except BaseException as ex: 100 # Raising BaseException will propagate out when adding a hook 101 with assertRaises(BaseException): 103 raise_on_events="sys.addaudithook", exc_type=BaseException 105 # Adding this next hook should raise BaseException
|
H A D | test_exceptions.py | 422 (BaseException, (), {'args' : ()}), 423 (BaseException, (1, ), {'args' : (1,)}), 424 (BaseException, ('foo',), 426 (BaseException, ('foo', 1), 551 for e in [BaseException(1), Exception(2), ValueError(3)]: 583 e = BaseException().with_traceback(tb) 584 self.assertIsInstance(e, BaseException) 660 self.assertRaises(TypeError, BaseException, a=1) 662 class DerivedException(BaseException): 664 BaseException [all...] |
H A D | test_exception_group.py | 11 self.assertTrue(issubclass(BaseExceptionGroup, BaseException)) 294 self.assertIsInstance(template, BaseException) 317 self.assertIs(eg, eg.subgroup(BaseException)) 365 for E in [BaseException, Exception, 694 match, rest = self.split_exception_group(eg, BaseException) 725 except BaseException as e:
|
/third_party/python/Lib/asyncio/ |
H A D | selector_events.py | 223 except BaseException: 230 except BaseException as exc: 394 except BaseException as exc: 432 except BaseException as exc: 472 except BaseException as exc: 514 except BaseException as exc: 561 except BaseException as exc: 609 except BaseException as exc: 655 except BaseException as exc: 680 except BaseException a [all...] |
H A D | __main__.py | 41 except BaseException as ex: 52 except BaseException as exc: 61 except BaseException:
|
H A D | transports.py | 287 except BaseException as exc: 303 except BaseException as exc:
|
H A D | timeouts.py | 95 exc_type: Optional[Type[BaseException]], 96 exc_val: Optional[BaseException],
|
H A D | taskgroups.py | 175 def _is_base_error(self, exc: BaseException) -> bool: 176 assert isinstance(exc, BaseException)
|
H A D | exceptions.py | 10 class CancelledError(BaseException):
|
H A D | staggered.py | 110 except BaseException as e:
|
H A D | unix_events.py | 218 except BaseException: 428 except BaseException as exc: 700 except BaseException as exc: 722 except BaseException as exc: 1031 except BaseException as exc: 1341 except BaseException:
|
H A D | tasks.py | 284 except BaseException as exc: 340 except BaseException as exc: 921 except BaseException as exc:
|
/third_party/jinja2/ |
H A D | debug.py | 14 def rewrite_traceback_stack(source: t.Optional[str] = None) -> BaseException: 26 exc_value = t.cast(BaseException, exc_value) 77 exc_value: BaseException, tb: t.Optional[TracebackType], filename: str, lineno: int 146 except BaseException:
|
H A D | bccache.py | 301 except BaseException: 311 except BaseException:
|
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
H A D | v8_commands.py | 57 class BaseException(Exception): class 63 class PassException(BaseException): 68 class FailException(BaseException):
|
/third_party/python/Lib/wsgiref/ |
H A D | types.py | 16 _ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType]
|
/third_party/python/Lib/concurrent/futures/ |
H A D | thread.py | 59 except BaseException as exc: 73 except BaseException: 108 except BaseException:
|
H A D | process.py | 214 except BaseException as e: 236 except BaseException: 257 except BaseException as e: 421 except BaseException as e:
|
/third_party/python/Lib/idlelib/ |
H A D | calltip.py | 141 except BaseException: 166 except BaseException: # Buggy user object could raise anything.
|
/third_party/python/Lib/ |
H A D | contextlib.py | 179 except BaseException as exc: 246 except BaseException as exc: 590 except BaseException: 734 except BaseException:
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | mock_idle.py | 32 if isinstance(self.result, BaseException):
|
/third_party/python/Lib/xmlrpc/ |
H A D | server.py | 271 except BaseException as exc: 365 except BaseException as exc: 626 except BaseException as exc:
|
/third_party/benchmark/tools/gbench/ |
H A D | util.py | 53 except BaseException:
|