Skip to content

Commit

Permalink
gh-101578: mention in what's new in 3.12 that exceptions are now norm…
Browse files Browse the repository at this point in the history
…alized before stored (#102702)
  • Loading branch information
iritkatriel authored Mar 14, 2023
1 parent a028778 commit 152292b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------

Expand Down

0 comments on commit 152292b

Please sign in to comment.