
Oct. 4, 2021
2:30 p.m.
On 4 Oct 2021, at 15:00, Calvin Spealman <cspealma@redhat.com> wrote:
It is difficult to understand why any special syntax is needed at all. ExceptionGroup is still an exception class like any other, isn't it? Why wouldn't the existing syntax suffice?
This is covered at length in the PEP. Those sections specifically address this: https://www.python.org/dev/peps/pep-0654/#extend-except-to-handle-exception-... <https://www.python.org/dev/peps/pep-0654/#extend-except-to-handle-exception-...> https://www.python.org/dev/peps/pep-0654/#programming-without-except <https://www.python.org/dev/peps/pep-0654/#programming-without-except> - Ł