]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38203: faulthandler.dump_traceback_later() is always available (GH-16260)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Sep 2019 12:43:17 +0000 (05:43 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2019 12:43:17 +0000 (05:43 -0700)
dump_traceback_later() and cancel_dump_traceback_later() functions of
the faulthandler module are always available since Python 3.7.
(cherry picked from commit 064e1e384120635330493abf300b1113eadd904c)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Doc/library/faulthandler.rst

index 94ebd87639c5019cecf3b4a50973ead566424e7f..b588dfa18db2dda687115c07914e73cbdae35b70 100644 (file)
@@ -100,8 +100,10 @@ Dumping the tracebacks after a timeout
    :func:`cancel_dump_traceback_later` is called: see :ref:`issue with file
    descriptors <faulthandler-fd>`.
 
-   This function is implemented using a watchdog thread and therefore is not
-   available if Python is compiled with threads disabled.
+   This function is implemented using a watchdog thread.
+
+   .. versionchanged:: 3.7
+      This function is now always available.
 
    .. versionchanged:: 3.5
       Added support for passing file descriptor to this function.