Searched refs:excepthook (Results 1 – 25 of 37) sorted by relevance
12
/third_party/python/Lib/ |
D | code.py | 123 if sys.excepthook is sys.__excepthook__: 129 sys.excepthook(type, value, tb) 143 if sys.excepthook is sys.__excepthook__: 148 sys.excepthook(ei[0], ei[1], last_tb)
|
D | threading.py | 1245 from _thread import (_excepthook as excepthook, unknown 1259 def excepthook(args, /): function 1291 __excepthook__ = excepthook 1299 old_excepthook = excepthook 1300 old_sys_excepthook = _sys.excepthook 1311 global excepthook 1313 hook = excepthook 1332 if local_sys is not None and local_sys.excepthook is not None: 1333 sys_excepthook = local_sys.excepthook
|
D | site.py | 557 sys.excepthook(*sys.exc_info()) 577 sys.excepthook(*sys.exc_info())
|
D | cgitb.py | 320 sys.excepthook = Hook(display=display, logdir=logdir,
|
D | weakref.py | 669 sys.excepthook(*sys.exc_info())
|
/third_party/python/Lib/test/support/ |
D | threading_helper.py | 200 self._old_hook = threading.excepthook 201 threading.excepthook = self._hook 205 threading.excepthook = self._old_hook
|
/third_party/python/Lib/test/ |
D | test_code_module.py | 30 if sys.excepthook is sys.__excepthook__: 31 self.sysmod.excepthook = self.sysmod.__excepthook__ 73 self.sysmod.excepthook = hook
|
D | audit-tests.py | 274 def excepthook(exc_type, exc_value, exc_tb): function 282 if args[0] != excepthook: 287 sys.excepthook = excepthook
|
D | test_threading.py | 40 testcase.addCleanup(setattr, threading, 'excepthook', threading.excepthook) 41 threading.excepthook = threading.__excepthook__ 1443 threading.excepthook(args) 1523 threading.excepthook = threading.__excepthook__
|
D | test_concurrent_futures.py | 995 sys.excepthook(*sys.exc_info())
|
D | test_sys.py | 105 sys.excepthook(1, '1', 1)
|
/third_party/python/Lib/test/libregrtest/ |
D | utils.py | 118 orig_threading_excepthook = threading.excepthook 119 threading.excepthook = regrtest_threading_excepthook
|
/third_party/python/Doc/library/ |
D | cgitb.rst | 42 .. index:: single: excepthook() (in module sys) 45 default handling for exceptions by setting the value of :attr:`sys.excepthook`.
|
D | sys.rst | 337 .. function:: excepthook(type, value, traceback) 342 ``sys.excepthook`` with three arguments, the exception class, exception 346 customized by assigning another three-argument function to ``sys.excepthook``. 348 .. audit-event:: sys.excepthook hook,type,value,traceback sys.excepthook 350 Raise an auditing event ``sys.excepthook`` with arguments ``hook``, 355 unraisable and ``sys.excepthook`` will be called. 360 and the :func:`threading.excepthook` function handles exception raised 370 ``displayhook``, ``excepthook``, and ``unraisablehook`` at the start of the 372 ``excepthook``, ``unraisablehook`` can be restored in case they happen to 1664 See also :func:`excepthook` which handles uncaught exceptions.
|
D | threading.rst | 58 .. function:: excepthook(args, /) 72 If this function raises an exception, :func:`sys.excepthook` is called to 75 :func:`threading.excepthook` can be overridden to control how uncaught 87 :func:`sys.excepthook` handles uncaught exceptions. 93 Holds the original value of :func:`threading.excepthook`. It is saved so that the 274 :func:`threading.excepthook` is called to handle it. By default, 275 :func:`threading.excepthook` ignores silently :exc:`SystemExit`.
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_run.py | 409 assert sys.excepthook == sys.__excepthook__ 417 sys.excepthook = lambda t, e, tb: run.print_exception(t) 421 sys.excepthook = lambda: None
|
/third_party/python/Lib/multiprocessing/ |
D | resource_tracker.py | 216 sys.excepthook(*sys.exc_info())
|
D | resource_sharer.py | 150 sys.excepthook(*sys.exc_info())
|
D | forkserver.py | 278 sys.excepthook(*sys.exc_info())
|
/third_party/python/Lib/idlelib/ |
D | run.py | 593 if sys.excepthook is sys.__excepthook__: 597 sys.excepthook(*self.user_exc_info)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a5.rst | 617 Make IDLE invoke :func:`sys.excepthook` in normal, 2-process mode. Patch by
|
D | 3.8.0b1.rst | 583 :func:`sys.excepthook`, so the hook gets access to the function which raised 731 Add a new :func:`threading.excepthook` function which handles uncaught
|
D | 3.9.0a2.rst | 114 Add audit hooks for when :func:`sys.excepthook` and
|
/third_party/python/Python/ |
D | pythonrun.c | 40 _Py_IDENTIFIER(excepthook);
|
/third_party/python/Doc/whatsnew/ |
D | 2.1.rst | 635 :func:`sys.excepthook` can be set to a callable object. When an exception isn't 637 passed to :func:`sys.excepthook`, which can then do whatever it likes. At the
|
12