Home
last modified time | relevance | path

Searched refs:faulthandler (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_faulthandler.py3 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 …]
Dtest_xxtestfuzz.py1 import faulthandler
22 faulthandler.enable()
Dtest_concurrent_futures.py826 import faulthandler
827 faulthandler.disable()
828 faulthandler._sigsegv()
898 import faulthandler
901 faulthandler.dump_traceback(file=f)
Dtest_regrtest.py8 import faulthandler
57 @unittest.skipUnless(hasattr(faulthandler, 'dump_traceback_later'),
552 if hasattr(faulthandler, 'dump_traceback_later'):
Dtest_cmd_line.py592 import faulthandler
/external/python/cpython3/Doc/library/
Dfaulthandler.rst1 :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
Ddebug.rst13 faulthandler.rst
/external/python/cpython3/Lib/test/libregrtest/
Dsetup.py2 import faulthandler
27 faulthandler.enable(all_threads=True, file=stderr_fd)
36 faulthandler.register(signum, chain=True, file=stderr_fd)
Druntest.py1 import faulthandler
109 faulthandler.dump_traceback_later(ns.timeout, exit=True)
147 faulthandler.cancel_dump_traceback_later()
Druntest_mp.py1 import faulthandler
182 faulthandler.dump_traceback_later(test_timeout, exit=True)
227 faulthandler.cancel_dump_traceback_later()
Dmain.py2 import faulthandler
162 if ns.timeout and not hasattr(faulthandler, 'dump_traceback_later'):
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py12 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/
Dpystate.h37 int faulthandler; /* PYTHONFAULTHANDLER, -X faulthandler */ member
85 .faulthandler = -1, \
/external/python/cpython3/Modules/
Dmain.c1982 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()
DSetup.dist135 # faulthandler module
136 faulthandler faulthandler.c
/external/python/cpython3/Lib/test/support/
D__init__.py10 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/
Dautoserv.py418 import faulthandler
419 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
Dautoserv418 import faulthandler
419 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
/external/python/cpython3/Doc/using/
Dcmdline.rst410 * ``-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.c446 config.faulthandler = 1; in test_init_from_config()
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt113 # Modules/faulthandler.c
/external/python/cpython3/Misc/NEWS.d/
D3.6.2rc1.rst342 faulthandler now correctly filters and displays exception codes on Windows
644 faulthandler: Restore the old sigaltstack during teardown. Patch by
D3.5.0a3.rst449 of faulthandler now accept file descriptors. Patch by Wei Wu.
D3.5.0a4.rst437 Fix the faulthandler module to handle reentrant calls to its signal
/external/python/cpython3/Doc/whatsnew/
D3.5.rst517 * 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

12