Hacker News new | ask | show | jobs
by tlocke 1024 days ago
Interesting. In the language feature list, what is 'try star' ?
2 comments

It's exception groups[1], with the syntax `except*`.

1. https://peps.python.org/pep-0654/

I wondered what it was too. Maybe "exception groups" or "except star" would be clearer for the reader (thanks for your amazing work btw)
I hadn't heard of it either. In addition to the PEP this link may be useful https://realpython.com/python311-exception-groups/#exception... . The feature was new in 3.11.

BTW RealPython is quite boring about wanting you to create an account, I'm sure they didn't use to be as bad but I can barely read that page in its entirety without getting forced to create an account.