Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'patent': 0.09; 'subject:while': 0.09; 'cc:addr:python-list': 0.10; '"="': 0.16; 'assignment.': 0.16; 'expression.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'simpson': 0.16; 'subject:expression': 0.16; 'later': 0.16; 'wrote:': 0.17; 'followed': 0.20; '(on': 0.22; 'keyboard': 0.22; 'pascal': 0.22; 'cheers,': 0.23; 'cc:no real name:2**0': 0.24; 'paul': 0.24; 'so.': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'cc:addr:gmail.com': 0.27; 'plain': 0.27; 'priority': 0.29; "i'm": 0.29; 'good.': 0.32; "can't": 0.34; 'something': 0.35; 'compare': 0.36; 'received:au': 0.36; 'charset:us-ascii': 0.36; 'enough': 0.36; 'subject:: ': 0.38; 'where': 0.40; 'easy': 0.60; 'content- disposition:inline': 0.60; 'date,': 0.65; 'attractive': 0.78; 'one).': 0.84; 'prone': 0.91 Date: Sat, 27 Oct 2012 11:23:06 +1100 From: Cameron Simpson To: Devin Jeanpierre Subject: Re: while expression feature proposal MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351297390 news.xs4all.nl 6892 [2001:888:2000:d::a6]:47934 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32256 On 26Oct2012 19:19, Devin Jeanpierre wrote: | (I've always been partial to ":=", personally.) I'm less so. It is hard to type (on my keyboard anyway, that's a shifted keystroke followed by an unshifted one). I mank that up often enough that I would resent it for something as oft used as an assignment. Visually, yes, it's good. I was happy with it in Pascal and its like, though I find the succinctness of plain "=" very attractive given that it is only available on the left in Python, where it is easy to see and not prone to mixups with == later in an expression. Cheers, -- Cameron Simpson George, discussing a patent and prior art: "Look, this publication has a date, the patent has a priority date, can't you just compare them?" Paul Sutcliffe: "Not unless you're a lawyer."