Message414811
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. |
|
Date |
User |
Action |
Args |
2022-03-09 19:50:28 | JelleZijlstra | set | recipients:
+ JelleZijlstra, gvanrossum, Henry Schreiner, iritkatriel, AlexWaygood |
2022-03-09 19:50:28 | JelleZijlstra | set | messageid: <1646855428.78.0.726284616885.issue46967@roundup.psfhosted.org> |
2022-03-09 19:50:28 | JelleZijlstra | link | issue46967 messages |
2022-03-09 19:50:28 | JelleZijlstra | create | |
|