4 votes

A recent Python Enhancement Proposal targets adding "exception groups," as well as new syntax to catch and handle the groups

1 comment

  1. spit-evil-olive-tips
    Link
    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"...

    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.

    4 votes