Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38703
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <wanderer@dialup4less.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'example:': 0.03; 'mrab': 0.05; 'parameter': 0.07; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; '**,': 0.16; 'number?': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'insert': 0.23; 'monday,': 0.23; 'this:': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'guess': 0.27; 'right.': 0.27; 'post': 0.28; 'spaces': 0.29; 'subject:numbers': 0.29; 'keyword': 0.30; 'code': 0.31; '11,': 0.33; 'right?': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'there': 0.35; "i'll": 0.36; 'should': 0.36; 'subject:: ': 0.38; 'space': 0.39; 'subject:, ': 0.61; '2013': 0.84; 'subject:around': 0.84 |
| X-Received | by 10.49.15.6 with SMTP id t6mr1042003qec.20.1360608989192; Mon, 11 Feb 2013 10:56:29 -0800 (PST) |
| Newsgroups | comp.lang.python |
| Date | Mon, 11 Feb 2013 10:56:29 -0800 (PST) |
| In-Reply-To | <mailman.1666.1360606165.2939.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=65.205.52.2; posting-account=_dIAQQoAAAB7Yieol6fmkK_HviJUbJt3 |
| References | <a93bb384-ac71-4223-896b-6d47e592abcf@googlegroups.com> <mailman.1666.1360606165.2939.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-IP | 65.205.52.2 |
| MIME-Version | 1.0 |
| Subject | Re: PyDev, pep8.py conflict on spaces around negative numbers |
| From | Wanderer <wanderer@dialup4less.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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 <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> |
| Message-ID | <mailman.1668.1360608992.2939.python-list@python.org> (permalink) |
| Lines | 46 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1360608992 news.xs4all.nl 6933 [2001:888:2000:d::a6]:60087 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:38703 |
Show key headers only | View raw
On Monday, February 11, 2013 1:09:38 PM UTC-5, MRAB wrote: > On 2013-02-11 16:39, Wanderer wrote: > > > If I check the 'Use space before and after operators? (+, -, /, *, > > > //, **, etc.)' in the Eclipse>PyDev>Editor>Code Style> Code > > > Formatter, PyDev will insert a space before a negative number in a > > > keyword parameter declaration. Pep8.py will then post a warning 'E251 > > > no spaces around keyword / parameter equals'. > > > > > > For example: > > > foo(bar= -25) > > > > > > So which is right? Should there be a space before a negative number? > > > > > Pep8.py is right. > > > > This is preferred: > > > > foo(bar=-25) > > > > as is this: > > > > bar = -25 Then, I guess I'll uncheck the 'Use space before and after operators' in PyDev. Thanks
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
PyDev, pep8.py conflict on spaces around negative numbers Wanderer <wanderer@dialup4less.com> - 2013-02-11 08:39 -0800
Re: PyDev, pep8.py conflict on spaces around negative numbers MRAB <python@mrabarnett.plus.com> - 2013-02-11 18:09 +0000
Re: PyDev, pep8.py conflict on spaces around negative numbers Wanderer <wanderer@dialup4less.com> - 2013-02-11 10:56 -0800
Re: PyDev, pep8.py conflict on spaces around negative numbers Wanderer <wanderer@dialup4less.com> - 2013-02-11 10:56 -0800
csiph-web