This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients AlexWaygood, Henry Schreiner, JelleZijlstra, gvanrossum, iritkatriel, steven.daprano
Date 2022-03-09.22:43:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646865789.82.0.932410335014.issue46967@roundup.psfhosted.org>
In-reply-to
Content
I don't think that `except A|B` looks better than `except (A, B)`, so I am against this proposal. Exception matching is its own special thing (e.g. it doesn't honor virtual subclasses) and we shouldn't hyper-generalize.
History
Date User Action Args
2022-03-09 22:43:09gvanrossumsetrecipients: + gvanrossum, steven.daprano, Henry Schreiner, JelleZijlstra, iritkatriel, AlexWaygood
2022-03-09 22:43:09gvanrossumsetmessageid: <1646865789.82.0.932410335014.issue46967@roundup.psfhosted.org>
2022-03-09 22:43:09gvanrossumlinkissue46967 messages
2022-03-09 22:43:09gvanrossumcreate