News for hackers. Stuff that matters.
Re:Python Language Summit: PEP 654 – Exception Groups and Ex... by formerly_proven on Sunday May 16, 2021 @08:05AM (#27173103)
The "delegate" statement encapsulates which exceptions are handled and how in the supplied callable expression. This is functionally different from repeating "except (FooExc, BarExc, BazExc) as exc: handle(exc)". It would also save two to three lines on average.

There are no comments on this comment yet.