True == 1 weirdness

Random832 random832 at
Fri Sep 18 14:47:59 CEST 2015

On Fri, Sep 18, 2015, at 08:30, Steven D'Aprano wrote:
> On Fri, 18 Sep 2015 07:26 am, Random832 wrote:
> > I don't even think chaining should
> > work for all *actual* comparison operations.
> I don't see why. Mathematicians chain comparisons all the time. If the
> language implements the same semantics as mathematicians already use, why
> do you dislike that?

Please provide a citation for this claim.
> Only if the comparisons are transitive, which they may not be. 

My *entire point* is that it *shouldn't be used* for non-transitive

More information about the Python-list mailing list