From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Tue, 14 Mar 2023 22:38:15 +0000 (+0000) Subject: gh-101578: mention in what's new in 3.12 that exceptions are now normalized before... X-Git-Tag: v3.12.0a7~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=152292b98fd52f8b3db252e5609d6a605a11cb57;p=thirdparty%2FPython%2Fcpython.git gh-101578: mention in what's new in 3.12 that exceptions are now normalized before stored (#102702) --- diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 9f33dbc808dd..217ffec1ee10 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 ----------