summaryrefslogtreecommitdiff
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMario Corchero <mcorcherojim@bloomberg.net>2020-11-12 18:27:44 +0100
committerGitHub <noreply@github.com>2020-11-12 18:27:44 +0100
commit750c5abf43b7b1627ab59ead237bef4c2314d29e (patch)
treef8ebda9718f8e2b5c7a564a7aaae0e4170639360 /Doc/whatsnew
parentb5cc05bbe681dbe06d5ec6d34318815d1c1ad6c5 (diff)
downloadcpython-git-750c5abf43b7b1627ab59ead237bef4c2314d29e.tar.gz
bpo-42308: Add threading.__excepthook__ (GH-23218)
Add threading.__excepthook__ to allow retrieving the original value of threading.excepthook in case it is set to a broken or a different value.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 74c1c28ec0..4d77200558 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -263,6 +263,11 @@ retrieve the functions set by :func:`threading.settrace` and
:func:`threading.setprofile` respectively.
(Contributed by Mario Corchero in :issue:`42251`.)
+Add :data:`threading.__excepthook__` to allow retrieving the original value
+of :func:`threading.excepthook` in case it is set to a broken or a different
+value.
+(Contributed by Mario Corchero in :issue:`42308`.)
+
traceback
---------