On Sat, Mar 27, 2021 at 3:56 PM Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
While we're talking about compelling use cases, does anyone have an
actual, concrete use case for the proposed "except *" feature that's
strong enough to justify new syntax?

I'm fine with having ExceptionGroup as a built-in type. I'm not fine
with adding new syntax that will apparently be used only in rare
circumstances.

Can code that's aware of the possibility of getting an ExceptionGroup
not simply catch it as a normal exception and then pick it apart? Do
we really need a whole new piece of machinery for this?

As Irit already wrote, the code to do this correctly is increasingly subtle and without special  syntax it becomes too easy to do it wrong. Also note that multiple `except *` clauses can all run, since they handle (disjunct) different subsets of the group.

--
--Guido van Rossum (python.org/~guido)