Skip to content

Commit 1a3a48d

Browse files
bpo-38203: faulthandler.dump_traceback_later() is always available (GH-16260)
dump_traceback_later() and cancel_dump_traceback_later() functions of the faulthandler module are always available since Python 3.7. (cherry picked from commit 064e1e3) Co-authored-by: Victor Stinner <[email protected]>
1 parent 8b907a8 commit 1a3a48d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/library/faulthandler.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ Dumping the tracebacks after a timeout
100100
:func:`cancel_dump_traceback_later` is called: see :ref:`issue with file
101101
descriptors <faulthandler-fd>`.
102102

103-
This function is implemented using a watchdog thread and therefore is not
104-
available if Python is compiled with threads disabled.
103+
This function is implemented using a watchdog thread.
104+
105+
.. versionchanged:: 3.7
106+
This function is now always available.
105107

106108
.. versionchanged:: 3.5
107109
Added support for passing file descriptor to this function.

0 commit comments

Comments
 (0)