News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by vitus on Tuesday February 09, 2021 @04:07PM (#26082387)
You can already define __or__ to do whatever you want!

This is already special-cased in the standard library for, say, set union (where admittedly the concept is more similar to bitwise or).

Re:Pattern matching accepted for Python by toxik on Tuesday February 09, 2021 @04:09PM (#26082413)
... except in case expressions

Thanks for proving my point though!