]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101578: mention in what's new in 3.12 that exceptions are now normalized before...
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Tue, 14 Mar 2023 22:38:15 +0000 (22:38 +0000)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 22:38:15 +0000 (22:38 +0000)
Doc/whatsnew/3.12.rst

index 9f33dbc808ddc0284d9669315d43924d6ea8573e..217ffec1ee100747c4ff2c573d862337cd276cf0 100644 (file)
@@ -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
 ----------