Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'python.': 0.04; 'subject:Python': 0.06; 'matt': 0.09; 'obey': 0.09; 'subject:] ': 0.14; 'great.': 0.15; 'heavily': 0.15; '(remember': 0.16; 'from:addr:paul': 0.16; 'syntactical': 0.16; 'workaround': 0.16; '\xa0do': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'received:74.125.82.44': 0.17; 'received:mail- ww0-f44.google.com': 0.17; 'cc:no real name:2**0': 0.20; 'figure': 0.21; 'header:In-Reply-To:1': 0.22; 'pm,': 0.24; 'aug': 0.24; 'paul': 0.28; 'thu,': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.30; 'break': 0.32; 'it.': 0.33; 'cc:2**1': 0.36; 'but': 0.37; 'think': 0.38; 'received:74.125.82': 0.38; 'some': 0.38; 'received:google.com': 0.38; 'received:74.125': 0.39; '11,': 0.68; 'subject:line': 0.73; 'joiner': 0.84; 'structures.': 0.84 MIME-Version: 1.0 X-Originating-IP: [91.203.48.31] In-Reply-To: References: <1312951356.77394.YahooMailNeo@web121518.mail.ne1.yahoo.com> <4e424208$0$29965$c3e8da3$5496439d@news.astraweb.com> <1312981104.89312.YahooMailNeo@web121520.mail.ne1.yahoo.com> <1312982377.95657.YahooMailNeo@web121508.mail.ne1.yahoo.com> <1313031175.38817.YahooMailNeo@web121515.mail.ne1.yahoo.com> <4E43D2F2.1090004@mrabarnett.plus.com> From: Paul Colomiets Date: Thu, 11 Aug 2011 22:17:08 +0300 Subject: Re: [Python-ideas] allow line break at operators To: Matt Joiner Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org, python-ideas 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313090249 news.xs4all.nl 23857 [2001:888:2000:d::a6]:60359 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11225 Hi Matt, On Thu, Aug 11, 2011 at 5:28 PM, Matt Joiner wrote: > +0.5 > > The "trailing \" workaround is nonobvious. Wrapping in () is noisy and > already heavily used by other syntactical structures. Since a final > ':' is needed anyway, i think this would be great. > > if a > =A0and b > =A0or c: > =A0do stuff() > If you really think so, try writing some coffeescript (remember to obey 79 chars limit). Coffeescript is amasing, but it lacks strictness of python. So you really don't know how to break line, and it really takes time to figure out right way each time you need it. --=20 Paul