summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorCF Bolz-Tereick <cfbolz@gmx.de>2024-07-31 10:33:29 (GMT)
committerGitHub <noreply@github.com>2024-07-31 10:33:29 (GMT)
commitbd3d31f380cd451a4ab6da5fbfde463fed95b5b5 (patch)
treeeef67c37d5ff5ef20ac7b8a972bd9fe73d910b00 /Misc/NEWS.d
parente60ee11cb51b87deeb22ad125717bd0d0dc10fa8 (diff)
downloadcpython-bd3d31f380cd451a4ab6da5fbfde463fed95b5b5.zip
cpython-bd3d31f380cd451a4ab6da5fbfde463fed95b5b5.tar.gz
cpython-bd3d31f380cd451a4ab6da5fbfde463fed95b5b5.tar.bz2
gh-87320: In the code module, handle exceptions raised in sys.excepthook (GH-122456)
Before, the exception caused by calling non-default sys.excepthook in code.InteractiveInterpreter bubbled up to the caller, ending the REPL.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-07-30-14-46-16.gh-issue-87320.-Yk1wb.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-07-30-14-46-16.gh-issue-87320.-Yk1wb.rst b/Misc/NEWS.d/next/Library/2024-07-30-14-46-16.gh-issue-87320.-Yk1wb.rst
new file mode 100644
index 0000000..4322b71
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-07-30-14-46-16.gh-issue-87320.-Yk1wb.rst
@@ -0,0 +1,3 @@
+In :class:`code.InteractiveInterpreter`, handle exceptions caused by calling a
+non-default :func:`sys.excepthook`. Before, the exception bubbled up to the
+caller, ending the :term:`REPL`.