4
votes
A recent Python Enhancement Proposal targets adding "exception groups," as well as new syntax to catch and handle the groups
Link information
This data is scraped automatically and may be incorrect.
- Title
- Python exception groups
- Word count
- 1912 words
Direct link to the PEP: https://www.python.org/dev/peps/pep-0654/
This strikes me as another example, along with things like the walrus operator, of Python being more or less a "complete" language, and proposals to change it increasingly chasing diminishing returns / adding syntax to handle relatively uncommon use cases.