summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-03-14 22:38:15 (GMT)
committerGitHub <noreply@github.com>2023-03-14 22:38:15 (GMT)
commit152292b98fd52f8b3db252e5609d6a605a11cb57 (patch)
treec380a9f2237888ab6d0043dbd867e5d237045f10 /Doc/whatsnew
parenta028778d4c813914ae1e6ef3a04bb96dbf92ace6 (diff)
downloadcpython-152292b98fd52f8b3db252e5609d6a605a11cb57.zip
cpython-152292b98fd52f8b3db252e5609d6a605a11cb57.tar.gz
cpython-152292b98fd52f8b3db252e5609d6a605a11cb57.tar.bz2
gh-101578: mention in what's new in 3.12 that exceptions are now normalized before stored (#102702)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 9f33dbc..217ffec 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -982,6 +982,11 @@ Porting to Python 3.12
effects, these side effects are no longer duplicated.
(Contributed by Victor Stinner in :gh:`98724`.)
+* The interpreter's error indicator is now always normalized. This means
+ that :c:func:`PyErr_SetObject`, :c:func:`PyErr_SetString` and the other
+ functions that set the error indicator now normalize the exception
+ before storing it. (Contributed by Mark Shannon in :gh:`101578`.)
+
Deprecated
----------