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 JelleZijlstra
Recipients AlexWaygood, Henry Schreiner, JelleZijlstra, gvanrossum, iritkatriel
Date 2022-03-09.19:50:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646855428.78.0.726284616885.issue46967@roundup.psfhosted.org>
In-reply-to
Content
This would be nice but I'm not sure it's worth the hassle in terms of documentation, tooling support, etc.

There is an existing issue (that I can't find right now) that makes the `except` machinery use `__instancecheck__`, instead of looking only at real base classes like it does now. That change would automatically also make `|` work.
History
Date User Action Args
2022-03-09 19:50:28JelleZijlstrasetrecipients: + JelleZijlstra, gvanrossum, Henry Schreiner, iritkatriel, AlexWaygood
2022-03-09 19:50:28JelleZijlstrasetmessageid: <1646855428.78.0.726284616885.issue46967@roundup.psfhosted.org>
2022-03-09 19:50:28JelleZijlstralinkissue46967 messages
2022-03-09 19:50:28JelleZijlstracreate