Lines Matching refs:excepthook
31 'excepthook', 'ExceptHookArgs', 'gettrace', 'getprofile']
1268 from _thread import (_excepthook as excepthook,
1282 def excepthook(args, /):
1313 # Original value of threading.excepthook
1314 __excepthook__ = excepthook
1322 old_excepthook = excepthook
1323 old_sys_excepthook = _sys.excepthook
1325 raise RuntimeError("threading.excepthook is None")
1327 raise RuntimeError("sys.excepthook is None")
1334 global excepthook
1336 hook = excepthook
1352 local_print("Exception in threading.excepthook:",
1355 if local_sys is not None and local_sys.excepthook is not None:
1356 sys_excepthook = local_sys.excepthook