Proposed new syntax

Steve D'Aprano steve+python at pearwood.info
Wed Aug 23 08:08:03 EDT 2017


On Tue, 22 Aug 2017 11:42 pm, Ian Kelly wrote:

> The last line is the reason why the rich comparison methods should
> have been designed to raise NotImplementedException rather than return
> NotImplemented, but it's too late to change that.

Only if you want operators to be slow as molasses.

*wink*



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list