Proposed new syntax

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


On 2017年8月22日 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

AltStyle によって変換されたページ (->オリジナル) /