[Python-checkins] bpo-38203: faulthandler.dump_traceback_later() is always available (GH-16260)

Miss Islington (bot) webhook-mailer at python.org
Wed Sep 18 08:43:21 EDT 2019


https://github.com/python/cpython/commit/1a3a48ddaf41dff3c0fcedcfe7ec0940158c568d
commit: 1a3a48ddaf41dff3c0fcedcfe7ec0940158c568d
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年09月18日T05:43:17-07:00
summary:
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 064e1e384120635330493abf300b1113eadd904c)
Co-authored-by: Victor Stinner <vstinner at redhat.com>
files:
M Doc/library/faulthandler.rst
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst
index 94ebd87639c5..b588dfa18db2 100644
--- a/Doc/library/faulthandler.rst
+++ b/Doc/library/faulthandler.rst
@@ -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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /