Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12654
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!news2.arglkargh.de!news.wiretrip.org!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| 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; 'operator': 0.05; 'python': 0.08; 'precedence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'trailing': 0.09; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'yet.': 0.18; 'sfxlen:2': 0.19; 'cc:no real name:2**0': 0.20; 'url:home': 0.21; 'cc:2**0': 0.22; 'breaks': 0.23; 'sep': 0.23; 'compare': 0.28; 'lee': 0.28; 'cc:addr:python.org': 0.30; '"+"': 0.30; 'vote': 0.32; 'to:addr:python-list': 0.33; 'done': 0.34; 'clearly': 0.34; 'header:X-Complaints-To:1': 0.35; 'charset:us- ascii': 0.36; 'fri,': 0.36; 'especially': 0.37; 'received:org': 0.38; 'comments': 0.38; 'subject:: ': 0.39; 'finished': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'here': 0.65; 'lost': 0.68; 'become': 0.71; 'subject:line': 0.73; 'dennis': 0.77; 'gabriel': 0.91; 'visually': 0.91; 'besides,': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: allow line break at operators |
| Date | Fri, 02 Sep 2011 10:15:12 -0700 |
| Organization | > Bestiaria Support Staff < |
| References | <CAMZYqRQ+2_trqdffnGJjv=NdB1ZutD69=ZifDa_GqH5zvWuzQw@mail.gmail.com> <4E43D2F2.1090004@mrabarnett.plus.com> <CAB4yi1NDXbROzgf6SGY7P=LWC1pb3DDOZVF6B-fWs_-O3jr8qw@mail.gmail.com> <1314884634.78252.YahooMailNeo@web121507.mail.ne1.yahoo.com> <CAB4yi1MqV2mgXXkaCOQ3RThNGjR41BWJ9vGMfTxTq1v2h6edNQ@mail.gmail.com> <CAB4yi1MqV2mgXXkaCOQ3RThNGjR41BWJ9vGMfTxTq1v2h6edNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> <CAH3V-b7P+tQKZPz0MqLzapJ_eXm-oX1nKfxrqvQc0Z+yPbB4oA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | user-11faev7.dsl.mindspring.com |
| X-Newsreader | Forte Agent 3.3/32.846 |
| X-No-Archive | YES |
| Cc | python-ideas@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.712.1314984009.27778.python-list@python.org> (permalink) |
| Lines | 36 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1314984009 news.xs4all.nl 2546 [2001:888:2000:d::a6]:45114 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:12654 |
Show key headers only | View raw
On Fri, 2 Sep 2011 14:14:12 +0800, Gabriel AHTUNE
<gahtune@gmail.com> declaimed the
following in gmane.comp.python.general:
> So can be done with this syntax:
>
> > x = firstpart * secondpart + #line breaks here
> > anotherpart + #continue
> > stillanother #continue on.
>
> after a "+" operator the line is clearly not finished yet.
>
Which would get a NO vote from me, as I routinely line up operators
on the left
x = firstpart * secondpart
+ anotherpart
+ stillanother
especially when grouping by operator precedence
x = (a * b #parens to make
+ x / y #valid python
+ m**n)
Besides, that trailing operator can visually become lost in the
clutter of comments on the same line... Compare that sample to
x = (a * b + #parens to make valid python
x / y + #valid python
m**n)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: allow line break at operators Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-02 10:15 -0700
csiph-web