diff options
author | Peter Bierma <zintensitydev@gmail.com> | 2025-01-03 19:14:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-03 19:14:57 (GMT) |
commit | befcfdfdaba15ecae38739ecabebd8046c1b1977 (patch) | |
tree | 7a8bff03374ba88fe5d7f0e382d546f3717c8e26 /Doc/library | |
parent | 46cb6340d7bad955edfc0a20f6a52dabc03b0932 (diff) | |
download | cpython-befcfdfdaba15ecae38739ecabebd8046c1b1977.zip cpython-befcfdfdaba15ecae38739ecabebd8046c1b1977.tar.gz cpython-befcfdfdaba15ecae38739ecabebd8046c1b1977.tar.bz2 |
gh-128400: Only show the current thread in `faulthandler` if the GIL is disabled (GH-128425)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/faulthandler.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index 4067d79..b81da4a 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -91,6 +91,10 @@ Fault handler state The dump now mentions if a garbage collector collection is running if *all_threads* is true. + .. versionchanged:: next + Only the current thread is dumped if the :term:`GIL` is disabled to + prevent the risk of data races. + .. function:: disable() Disable the fault handler: uninstall the signal handlers installed by |