Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!hq-usenetpeers.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!194.109.133.85.MISMATCH!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'operator': 0.03; 'subject:code': 0.07; 'expression.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'parentheses': 0.16; 'precedence.': 0.16; 'wrote:': 0.17; 'else,': 0.17; 'examples': 0.18; 'obviously': 0.18; 'received:209.85.214.174': 0.21; 'specially': 0.23; 'header:In-Reply-To:1': 0.25; 'message- id:@mail.gmail.com': 0.27; "doesn't": 0.28; "d'aprano": 0.29; 'steven': 0.29; 'usually': 0.30; 'evaluation': 0.30; 'point': 0.31; 'anywhere': 0.33; 'certain': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'jul': 0.65; 'overall': 0.66; 'common,': 0.84; 'evaluation.': 0.84; 'crafted': 0.91; 'man.': 0.93 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=UuZEwZwtWkff5G3cNMYP8/FP4vzZERf8m/BMUdwChkI=; b=iQEL9rAZqG1F2HPgCIffGbyiAfz++JCOj0Nv86IkovGdZt9VqUHgJYkKjrMwAcSpsB Unn05RTIw0GWkEOoIIfwpBOht+9tFjb0bzxjf3j7g8tlEiUeknzGeT7OCltI95E3YjzK Pvht5E3X1mH3f2uf5m3baOdpId/taTK0aGwR6Omib5EtUuNbXAVFkitOKjFMtVeuNzKm StziTGsYh2Ae3oR/qSr6glRyUUXRE3kFZXZ4B0mBd2cMmZ/TRJJ7Ucs9G07CCrGuaTes zgl+7VAHtYLAOI/wOaVn8+0VOOqPNpaQ7TYle9QsfoVTnDEu2WkMCE8mOZRP+XCgihg2 Hofw== MIME-Version: 1.0 In-Reply-To: <4fefedd8$0$29988$c3e8da3$5496439d@news.astraweb.com> 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> <4fefb0ad$0$29988$c3e8da3$5496439d@news.astraweb.com> <4fefcf72$0$29988$c3e8da3$5496439d@news.astraweb.com> <4fefedd8$0$29988$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 1 Jul 2012 16:33:15 +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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341124398 news.xs4all.nl 6947 [2001:888:2000:d::a6]:45373 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24727 On Sun, Jul 1, 2012 at 4:27 PM, Steven D'Aprano wrote: > Yes, you can find specially crafted examples where adding parentheses in > certain places, but not others, doesn't change the overall evaluation of > the expression. My point was that adding parentheses around the tightest-binding operator is a common, clear, and usually insignificant, way of demonstrating operator precedence. So FOR THAT USE they must not change evaluation of the expression. Obviously if you put them anywhere else, they change evaluation. Nice job knocking down a straw man. ChrisA