/external/python/cpython3/Lib/test/ |
D | test_faulthandler.py | 3 import faulthandler 245 @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'), 334 was_enabled = faulthandler.is_enabled() 336 faulthandler.enable() 337 self.assertTrue(faulthandler.is_enabled()) 338 faulthandler.disable() 339 self.assertFalse(faulthandler.is_enabled()) 342 faulthandler.enable() 344 faulthandler.disable() 535 @unittest.skipIf(not hasattr(faulthandler, 'dump_traceback_later'), [all …]
|
D | test_xxtestfuzz.py | 1 import faulthandler 22 faulthandler.enable()
|
D | test_concurrent_futures.py | 826 import faulthandler 827 faulthandler.disable() 828 faulthandler._sigsegv() 898 import faulthandler 901 faulthandler.dump_traceback(file=f)
|
D | test_regrtest.py | 8 import faulthandler 57 @unittest.skipUnless(hasattr(faulthandler, 'dump_traceback_later'), 552 if hasattr(faulthandler, 'dump_traceback_later'):
|
D | test_cmd_line.py | 592 import faulthandler
|
/external/python/cpython3/Doc/library/ |
D | faulthandler.rst | 1 :mod:`faulthandler` --- Dump the Python traceback 4 .. module:: faulthandler 12 after a timeout, or on a user signal. Call :func:`faulthandler.enable` to 16 variable or by using the :option:`-X` ``faulthandler`` command line option. 38 alternatively be passed to :func:`faulthandler.enable`. 68 :ref:`issue with file descriptors <faulthandler-fd>`. 101 descriptors <faulthandler-fd>`. 124 :func:`unregister`: see :ref:`issue with file descriptors <faulthandler-fd>`. 163 $ python3 -q -X faulthandler
|
D | debug.rst | 13 faulthandler.rst
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | setup.py | 2 import faulthandler 27 faulthandler.enable(all_threads=True, file=stderr_fd) 36 faulthandler.register(signum, chain=True, file=stderr_fd)
|
D | runtest.py | 1 import faulthandler 109 faulthandler.dump_traceback_later(ns.timeout, exit=True) 147 faulthandler.cancel_dump_traceback_later()
|
D | runtest_mp.py | 1 import faulthandler 182 faulthandler.dump_traceback_later(test_timeout, exit=True) 227 faulthandler.cancel_dump_traceback_later()
|
D | main.py | 2 import faulthandler 162 if ns.timeout and not hasattr(faulthandler, 'dump_traceback_later'):
|
/external/python/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 12 import faulthandler 60 if hasattr(faulthandler, 'dump_traceback_later'): 61 faulthandler.dump_traceback_later(10 * 60, exit=True, 71 if hasattr(faulthandler, 'cancel_dump_traceback_later'): 72 faulthandler.cancel_dump_traceback_later()
|
/external/python/cpython3/Include/ |
D | pystate.h | 37 int faulthandler; /* PYTHONFAULTHANDLER, -X faulthandler */ member 85 .faulthandler = -1, \
|
/external/python/cpython3/Modules/ |
D | main.c | 1982 if (config->faulthandler < 0) { in config_read_complex_options() 1985 config->faulthandler = 1; in config_read_complex_options() 2399 if (config->faulthandler < 0) { in _PyCoreConfig_Read() 2400 config->faulthandler = 1; in _PyCoreConfig_Read() 2413 if (config->faulthandler < 0) { in _PyCoreConfig_Read() 2414 config->faulthandler = 0; in _PyCoreConfig_Read() 2504 COPY_ATTR(faulthandler); in _PyCoreConfig_Copy() 2586 SET_ITEM_INT(faulthandler); in _PyCoreConfig_AsDict()
|
D | Setup.dist | 135 # faulthandler module 136 faulthandler faulthandler.c
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 10 import faulthandler 2240 faulthandler.dump_traceback(sys.stdout) 2778 is_enabled = faulthandler.is_enabled() 2780 faulthandler.disable() 2784 faulthandler.enable(file=fd, all_threads=True)
|
/external/autotest/server/ |
D | autoserv.py | 418 import faulthandler 419 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
|
D | autoserv | 418 import faulthandler 419 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 410 * ``-X faulthandler`` to enable :mod:`faulthandler`; 435 * Enable the :mod:`faulthandler` module to dump the Python traceback 453 The ``-X faulthandler`` option. 680 :func:`faulthandler.enable` is called at startup: install a handler for 683 :option:`-X` ``faulthandler`` option.
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 446 config.faulthandler = 1; in test_init_from_config()
|
/external/python/cpython3/Tools/c-globals/ |
D | ignored-globals.txt | 113 # Modules/faulthandler.c
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.2rc1.rst | 342 faulthandler now correctly filters and displays exception codes on Windows 644 faulthandler: Restore the old sigaltstack during teardown. Patch by
|
D | 3.5.0a3.rst | 449 of faulthandler now accept file descriptors. Patch by Wei Wu.
|
D | 3.5.0a4.rst | 437 Fix the faulthandler module to handle reentrant calls to its signal
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 517 * functions of the :mod:`faulthandler` module; 1137 faulthandler section in Improved Modules 1140 The :func:`~faulthandler.enable`, :func:`~faulthandler.register`, 1141 :func:`~faulthandler.dump_traceback` and 1142 :func:`~faulthandler.dump_traceback_later` functions now accept file
|