Message413624
> I was under the impression that ExceptionGroup was somewhat backwards compatible, in that you could still use `except CancelledError:` and it would catch all the errors in the group. But, maybe I'm wrong, I've not seen the documentation for the final feature yet, but that's the impression I got from the PEP.
No, you need the new except* syntax for that. |
|
Date |
User |
Action |
Args |
2022-02-21 00:24:07 | alex.gronholm | set | recipients:
+ alex.gronholm, gvanrossum, njs, jab, asvetlov, chris.jerdonek, yselivanov, tinchester, iritkatriel, dreamsorcerer, ajoino |
2022-02-21 00:24:07 | alex.gronholm | set | messageid: <1645403047.48.0.487802941159.issue46771@roundup.psfhosted.org> |
2022-02-21 00:24:07 | alex.gronholm | link | issue46771 messages |
2022-02-21 00:24:07 | alex.gronholm | create | |
|