3 ms·
I think that you're not alone, but this is specifically considered and rejected (in the section on "Rejected alternatives …"): > Add lots of new operators, or
by JadeNB 13y ago
I think that you're not alone, but this is specifically considered and rejected (in the section on "Rejected alternatives …"):
> Add lots of new operators, or add a new generic syntax for defining infix operators: In addition to being generally un-Pythonic and repeatedly rejected by BDFL fiat, this would be using a sledgehammer to smash a fly.
- JoshTriplett 13y agoAnyone have a reference for where that in particular was rejected by BDFL fiat?
- takluyver 13y agoPEP 225 was an attempt to add a load of new operators that was rejected (well, deferred 14 years ago). I don't know of a proposal to define arbitrary binary operators.