Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82100
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'instance.': 0.09; 'measure': 0.09; 'pep': 0.09; 'rows,': 0.09; 'url:github': 0.09; 'width': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; 'blocks': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Line': 0.16; 'tabs': 0.16; 'url:linux': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'coding': 0.22; 'otherwise,': 0.22; 'cc:addr:python.org': 0.22; 'precise': 0.24; "shouldn't": 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'idea': 0.28; 'points': 0.29; 'characters': 0.30; 'dec': 0.30; 'see,': 0.30; 'statement': 0.30; 'message- id:@mail.gmail.com': 0.30; 'went': 0.31; 'code': 0.31; 'horizontal': 0.31; 'problem.': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'system,': 0.38; 'e.g.': 0.38; 'window': 0.38; 'pm,': 0.38; 'previous': 0.38; 'anything': 0.39; 'back': 0.62; 'url:c': 0.67; '100': 0.79; 'good!': 0.84; 'krish': 0.84; 'maximize': 0.84; 'subject:Using': 0.84; 'url:master': 0.84; 'increases': 0.91; 'to:none': 0.92 |
| 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:cc :content-type; bh=/i6phUlhr0C2bStnthATrVf5l1C2wmx4sE09g6zTZMs=; b=we2CSJ3RlFoMJ/PcXur9BmtajLZPF65N7em7eesjxJrJr4naqMSnejvT3j+zBSZBQ2 Rs5HsTiZQgYSK3cYsA6MNKdGod5Flbfx5+i7ajD2dhT8h8RcL3B0K19CFYS7l5sH203g 5ZxOIlPTMeP6tO/JGfqnw+JeoxF+AtvOhkeYwz3hsStehErcmrQG9ATmW7hfvFDErJQX X+64nYjLWBODw7B7dWU2wu8S4eVXOnBUyFItV7OJSqVbicxPXPcKDw6Ac2INcdpOEihz e5U+Hu5vfOxOZxbjc7AwmspdBAqWE0/RRePTFu7GNnX0fpTFgUFFSvCqawM+F38Bnzxu JcKA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.152.104 with SMTP id ux8mr12901044igb.14.1418013960726; Sun, 07 Dec 2014 20:46:00 -0800 (PST) |
| In-Reply-To | <CAFaCOgxknjCTkQB1q0WNZu+sdsX+uUFVtTqLeqh=HUG0cS2bXA@mail.gmail.com> |
| References | <CAFaCOgxq6jp5bDXcKvXztAXdwxTOBoYRmEf2v4g_1nAYwJutGw@mail.gmail.com> <m635bj$n5g$1@ger.gmane.org> <CAFaCOgxknjCTkQB1q0WNZu+sdsX+uUFVtTqLeqh=HUG0cS2bXA@mail.gmail.com> |
| Date | Mon, 8 Dec 2014 15:46:00 +1100 |
| Subject | Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16703.1418013963.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1418013963 news.xs4all.nl 2884 [2001:888:2000:d::a6]:44239 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:82100 |
Show key headers only | View raw
On Mon, Dec 8, 2014 at 3:39 PM, Aahan Krish <krish@aahan.me> wrote: > As for why I care the "79 chars" part of PEP 8: > > - Coding in terminals and VIM with multiple windows open. Then measure your width with tabs set to 8 spaces, and nothing else matters. Otherwise, go back to your previous statement about avoiding arbitrary rules, maximize your terminal window (let's see, if I hit Alt-F10 on my Xfce system, I get a terminal window that's 51 rows, 190 columns; F11 increases that to 55 rows), and ignore the precise counts. All your other points are just as valid with 82 characters as with 79, and pretty much as valid with anything up to about 100-120. > - Avoiding horizontal scrollbars for code blocks on the web; GitHub > for instance. E.g. > https://github.com/torvalds/linux/blob/master/kernel/async.c -- That > is good! It goes to 100 frequently, and I found one line that went to 126... if that's your idea of "good", then I think going as far as 100 in your own code shouldn't be a problem. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? Chris Angelico <rosuav@gmail.com> - 2014-12-08 15:46 +1100
csiph-web