Searched refs:faulthandler (Results 1 – 25 of 48) sorted by relevance
12
/third_party/python/Lib/test/ |
D | test_faulthandler.py | 3 import faulthandler 291 @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'), 400 was_enabled = faulthandler.is_enabled() 402 faulthandler.enable() 403 self.assertTrue(faulthandler.is_enabled()) 404 faulthandler.disable() 405 self.assertFalse(faulthandler.is_enabled()) 408 faulthandler.enable() 410 faulthandler.disable() 685 @unittest.skipIf(not hasattr(faulthandler, "register"), [all …]
|
D | test_xxtestfuzz.py | 1 import faulthandler 24 faulthandler.enable()
|
D | _test_eintr.py | 12 import faulthandler 62 faulthandler.dump_traceback_later(10 * 60, exit=True, 72 faulthandler.cancel_dump_traceback_later()
|
D | test_concurrent_futures.py | 1058 import faulthandler 1059 faulthandler.disable() 1060 faulthandler._sigsegv() 1130 import faulthandler 1133 faulthandler.dump_traceback(file=f)
|
D | test_embed.py | 455 faulthandler=0, 919 faulthandler=1, 927 faulthandler=1,
|
/third_party/python/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`. 43 The :ref:`Python Development Mode <devmode>` calls :func:`faulthandler.enable` 71 :ref:`issue with file descriptors <faulthandler-fd>`. 108 descriptors <faulthandler-fd>`. 133 :func:`unregister`: see :ref:`issue with file descriptors <faulthandler-fd>`. 172 $ python3 -q -X faulthandler
|
D | debug.rst | 16 faulthandler.rst
|
D | devmode.rst | 24 PYTHONMALLOC=debug PYTHONASYNCIODEBUG=1 python3 -W default -X faulthandler 61 * Call :func:`faulthandler.enable` at Python startup to install handlers for 65 It behaves as if the :option:`-X faulthandler <-X>` command line option is
|
/third_party/python/Lib/test/libregrtest/ |
D | setup.py | 2 import faulthandler 31 faulthandler.enable(all_threads=True, file=stderr_fd) 40 faulthandler.register(signum, chain=True, file=stderr_fd)
|
D | runtest.py | 1 import faulthandler 184 faulthandler.dump_traceback_later(ns.timeout, exit=True) 229 faulthandler.cancel_dump_traceback_later()
|
D | runtest_mp.py | 2 import faulthandler 405 faulthandler.dump_traceback_later(MAIN_PROCESS_TIMEOUT, 480 faulthandler.cancel_dump_traceback_later()
|
D | main.py | 1 import faulthandler 662 faulthandler.dump_traceback_later(EXIT_TIMEOUT, exit=True)
|
/third_party/python/Lib/test/support/ |
D | threading_helper.py | 119 import faulthandler 151 faulthandler.dump_traceback(sys.stdout)
|
D | __init__.py | 1738 import faulthandler 1745 is_enabled = faulthandler.is_enabled() 1747 faulthandler.disable() 1751 faulthandler.enable(file=fd, all_threads=True)
|
/third_party/python/Python/ |
D | initconfig.c | 605 assert(config->faulthandler >= 0); in config_check_consistency() 706 config->faulthandler = -1; in _PyConfig_InitCompatConfig() 786 config->faulthandler = 0; in PyConfig_InitIsolatedConfig() 896 COPY_ATTR(faulthandler); in _PyConfig_Copy() 1000 SET_ITEM_INT(faulthandler); in _PyConfig_AsDict() 1276 GET_UINT(faulthandler); in _PyConfig_FromDict() 1848 if (config->faulthandler < 0) { in config_read_complex_options() 1851 config->faulthandler = 1; in config_read_complex_options() 2154 if (config->faulthandler < 0) { in config_read() 2155 config->faulthandler = 1; in config_read() [all …]
|
/third_party/python/Include/cpython/ |
D | initconfig.h | 143 int faulthandler; member
|
/third_party/python/Tools/c-analyzer/cpython/ |
D | ignored.tsv | 336 Modules/faulthandler.c faulthandler_dump_traceback_later kwlist - 337 Modules/faulthandler.c faulthandler_dump_traceback_py kwlist - 338 Modules/faulthandler.c faulthandler_py_enable kwlist - 339 Modules/faulthandler.c faulthandler_register_py kwlist - 413 Modules/faulthandler.c - faulthandler_slots - 534 Modules/faulthandler.c - module_methods - 1534 Modules/faulthandler.c - faulthandler_handlers - 2159 Modules/faulthandler.c - module_def - 2427 Modules/faulthandler.c - PyId_enable - 2428 Modules/faulthandler.c - PyId_fileno - [all …]
|
/third_party/python/Modules/ |
D | Setup | 128 # faulthandler module 129 faulthandler faulthandler.c
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 49 Modules/faulthandler.c:old_stack static stack_t old_stack 50 Modules/faulthandler.c:stack static stack_t stack 51 Modules/faulthandler.c:faulthandler_dump_traceback():reentrant static volatile int reentrant 133 Modules/faulthandler.c:fatal_error static struct { int enabled; PyObj… 134 Modules/faulthandler.c:thread static struct { PyObject *file; in… 316 Modules/faulthandler.c:PyId_enable _Py_IDENTIFIER(enable) 317 Modules/faulthandler.c:PyId_fileno _Py_IDENTIFIER(fileno) 318 Modules/faulthandler.c:PyId_flush _Py_IDENTIFIER(flush) 319 Modules/faulthandler.c:PyId_stderr _Py_IDENTIFIER(stderr)
|
/third_party/python/Doc/using/ |
D | cmdline.rst | 450 * ``-X faulthandler`` to enable :mod:`faulthandler`; 488 The ``-X faulthandler`` option. 763 :func:`faulthandler.enable` is called at startup: install a handler for 766 :option:`-X` ``faulthandler`` option.
|
/third_party/python/Doc/c-api/ |
D | init_config.rst | 666 .. c:member:: int faulthandler 668 Enable faulthandler? 670 If non-zero, call :func:`faulthandler.enable` at startup. 672 Set to ``1`` by :option:`-X faulthandler <-X>` and the 1452 * Enable optional features like :mod:`faulthandler` and :mod:`tracemalloc`;
|
/third_party/python/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.10.0b4.rst | 182 The :mod:`faulthandler` module now detects if a fatal error occurs during a
|
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
|
12