@@ -176,14 +176,33 @@ The :option:`-X` ``no_debug_ranges`` option and the environment variable
176176See :pep: `657 ` for more details. (Contributed by Pablo Galindo, Batuhan Taskaya
177177and Ammar Askar in :issue: `43950 `.)
178178
179+ Exception Groups and ``except* `` (PEP 654)
180+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181+
182+ :pep: `654 ` introduces language features that enable a program
183+ to raise and handle multiple unrelated exceptions. The builtin
184+ types :exc: `ExceptionGroup ` and :exc: `BaseExceptionGroup `
185+ make it possible to group exceptions and raise them together.
186+ The new ``except* `` syntax generalizes ``except `` and matches
187+ subgroups of exception groups.
188+
189+ See :pep: `654 ` for more details.
190+
191+ (Contributed by Irit Katriel in :issue: `45292 `. PEP written by
192+ Irit Katriel, Yury Selivanov and Guido van Rossum.)
193+
179194Exceptions can be enriched with notes (PEP 678)
180195~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181196
182197The :meth: `add_note ` method was added to :exc: `BaseException `. It can be
183198used to enrich exceptions with context information which is not available
184199at the time when the exception is raised. The notes added appear in the
185- default traceback. See :pep: `678 ` for more details. (Contributed by
186- Irit Katriel in :issue: `45607 `.)
200+ default traceback.
201+
202+ See :pep: `678 ` for more details.
203+
204+ (Contributed by Irit Katriel in :issue: `45607 `. PEP written by
205+ Zac Hatfield-Dodds.)
187206
188207
189208.. _new-feat-related-type-hints-311 :
0 commit comments