Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'expressions': 0.07; 'referring': 0.07; 'subject:code': 0.07; 'python': 0.09; 'notation.': 0.09; 'sql,': 0.09; 'language': 0.14; 'languages.': 0.15; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'mathematical': 0.17; 'received:209.85.214.174': 0.21; 'programming': 0.23; 'header:In- Reply-To:1': 0.25; 'am,': 0.27; 'to?': 0.27; 'message- id:@mail.gmail.com': 0.27; 'really,': 0.29; 'writes:': 0.29; 'expect': 0.31; 'point,': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'ben': 0.35; 'received:209.85': 0.35; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'thomas': 0.62; 'jul': 0.65; 'sole': 0.75; 'newcomer': 0.84; 'norm': 0.84; 'rexx,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gO03OIno826GBQBXLx7mjJQBPPd9CSXTwlTjk0yDLAo=; b=Sf1mKrrCBwdVLekQYB+CPQsURIbkqlDvlTaV3j95PfSYzaowAyib5OlelKaX34yAxM RCckvGrB7A4xKdV4t2EPn2udARava8AnUsjvJVY2lO/4tSwxPNF2GXSRSSjP06YPrHLp ag5cw0lwI1gxDHQXAeI9Pkz6yLLIiUn4p8e4rjSOOg31No2UeklUYthOAFSjfwz+enTU sML4IHRkZnqBI6wwUOkOOfcNv7pvFIIrn6yJ/u6lz/hjrovIb0ZGVpIbHBFLC6TLnrlm B8FOokeOCn/A/uwSNztDuu9AzSq+rl8boNe2JmykUO8HWuZPGU+UmkwIV4RWlqlc7ART H9hw== MIME-Version: 1.0 In-Reply-To: <87bok0qr62.fsf@benfinney.id.au> References: <6c39594f-79cb-4d4f-967e-bbc3f68cdbdf@f8g2000pbf.googlegroups.com> <4fed59b7$0$29978$c3e8da3$5496439d@news.astraweb.com> <2662370.TGmo96CKe1@PointedEars.de> <87wr2oecf6.fsf@dpt-info.u-strasbg.fr> <4FEF7117.7000109@jollybox.de> <87bok0qr62.fsf@benfinney.id.au> Date: Sun, 1 Jul 2012 10:37:05 +1000 Subject: Re: code review From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341103028 news.xs4all.nl 6870 [2001:888:2000:d::a6]:52890 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24713 On Sun, Jul 1, 2012 at 10:08 AM, Ben Finney wrote: > Thomas Jollans writes: > >> My sole point, really, is that "normally", one would expect these two >> expressions to be equivalent: >> >> a < b < c >> (a < b) < c > > What norm gives you that expectation? That's not how those operators > work in mathematical notation. I know of no programming language that > would give a newcomer to Python that expectation. So where is the norm > you're referring to? C, SQL, REXX, and many other languages. ChrisA