MCPcopy Index your code
hub / github.com/python/cpython / setup_unraisable_hook

Function setup_unraisable_hook

Lib/test/libregrtest/utils.py:147–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145
146
147def setup_unraisable_hook() -> None:
148 global orig_unraisablehook
149 orig_unraisablehook = sys.unraisablehook
150 sys.unraisablehook = regrtest_unraisable_hook
151
152
153orig_threading_excepthook: Callable[..., object] | None = None

Callers 1

setup_processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…