Skip to content

Commit 152292b

Browse files
authored
gh-101578: mention in what's new in 3.12 that exceptions are now normalized before stored (#102702)
1 parent a028778 commit 152292b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,11 @@ Porting to Python 3.12
982982
effects, these side effects are no longer duplicated.
983983
(Contributed by Victor Stinner in :gh:`98724`.)
984984

985+
* The interpreter's error indicator is now always normalized. This means
986+
that :c:func:`PyErr_SetObject`, :c:func:`PyErr_SetString` and the other
987+
functions that set the error indicator now normalize the exception
988+
before storing it. (Contributed by Mark Shannon in :gh:`101578`.)
989+
985990
Deprecated
986991
----------
987992

0 commit comments

Comments
 (0)