bpo-44466: Faulthandler now detects the GC (GH-26823)

The faulthandler module now detects if a fatal error occurs during a
garbage collector collection (only if all_threads is true).
This commit is contained in:
Victor Stinner 2021-06-21 13:15:40 +02:00 committed by GitHub
parent fb68791a26
commit d19163912b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 70 additions and 14 deletions

View file

@ -76,6 +76,10 @@ Fault handler state
.. versionchanged:: 3.6
On Windows, a handler for Windows exception is also installed.
.. versionchanged:: 3.10
The dump now mentions if a garbage collector collection is running
if *all_threads* is true.
.. function:: disable()
Disable the fault handler: uninstall the signal handlers installed by