mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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:
parent
fb68791a26
commit
d19163912b
5 changed files with 70 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue