Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'implements': 0.07; 'received:internal': 0.09; 'semantics': 0.09; 'dislike': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'wrote:': 0.16; 'why.': 0.18; 'language': 0.19; '2015': 0.20; 'sep': 0.22; 'am,': 0.23; 'fri,': 0.27; 'comparison': 0.29; "d'aprano": 0.33; 'operations.': 0.33; 'steven': 0.33; 'should': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'provide': 0.61; 'skip:n 10': 0.62; 'citation': 0.84; 'claim.': 0.84; 'subject:True': 0.93 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=lw+ YwVoxMayL0rZgJ69D5ROTNbg=; b=mO7clWsHL7nekTXHucObBOT3apf5NPZgnrL Hkniu8+6zWl2DBNfmrSZGegjmERmVly8u26YVqH/TNaKbRPNb+RXbQm2Ba8uxpi2 JLys+RX+xvr+ZNFk3I1Wp4emHT7UzKNmywvg66jEyBMHT5tSgzNVZLpkUVVeGfTB WF/Ahgiw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=lw+YwVoxMayL0rZgJ69D5ROTNbg=; b=U50f/ ZC8GtNKYEbXKjJZ2Te3B0jAw31AY5JwjIGJvmnNdJipXnk5tCxwWZ4x6PeDp8CBW ewtxUPt27Wr1iXvYX5IcKBv58Nfm2RYyRoemaQ8BcxqId3naPU+xhxIBWdjtILcF vTomP3fmB7rFV5v+AxfcHwDVtTh87Vbway8BSQ= X-Sasl-Enc: atrk8Wf9Mt1VKnoufwohA4pW4cggTGUw14TUcCnBboaG 1442580479 From: Random832 To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-e92f8263 Subject: Re: True == 1 weirdness Date: Fri, 18 Sep 2015 08:47:59 -0400 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442580482 news.xs4all.nl 23869 [2001:888:2000:d::a6]:44559 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96818 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 comparisons!!!