Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51508

Re: PEP8 79 char max

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.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.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'read.': 0.03; 'collier': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'recommends': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; 'limiting': 0.16; 'pep8': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'url:pep-0008': 0.16; 'url:peps': 0.16; 'wrote:': 0.18; 'not,': 0.20; 'header :User-Agent:1': 0.23; 'char': 0.24; 'url:dev': 0.24; 'second': 0.26; 'least': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'character': 0.29; 'characters': 0.30; 'lines': 0.31; 'raised': 0.31; 'url:python': 0.33; 'maybe': 0.34; 'johnson': 0.35; 'there': 0.35; 'programming,': 0.36; 'possible': 0.36; 'url:org': 0.36; 'being': 0.38; 'machines': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:u 10': 0.60; 'devices': 0.61; 'received:173': 0.61; 'such': 0.63; 'maximum': 0.63; 'more': 0.64; 'limit': 0.70; 'disagreement': 0.84; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: PEP8 79 char max
Date Mon, 29 Jul 2013 17:55:37 -0400
References <51F6C5F5.5020201@Gmail.com> <kt6l70$6q4$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
In-Reply-To <kt6l70$6q4$1@ger.gmane.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>
Newsgroups comp.lang.python
Message-ID <mailman.5276.1375134952.3114.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375134952 news.xs4all.nl 15866 [2001:888:2000:d::a6]:40784
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51508

Show key headers only | View raw


On 7/29/2013 5:01 PM, Terry Reedy wrote:
> On 7/29/2013 3:43 PM, Devyn Collier Johnson wrote:
>> In Python programming, the PEP8 recommends limiting lines to a maximum
>> of 79 characters because "There are still many devices around that are
>> limited to 80 character lines"
>
> "plus, limiting windows to 80 characters makes it possible to have
> several windows side-by-side. "
>
>> (http://www.python.org/dev/peps/pep-0008/#code-lay-out). What devices
>> cannot handle 80 or more characters on a line?
>
> PEP 8 is being revised. My understanding is that because such machines
> are now rare, while the second reason is still operative, the
> recommended limit will be raised to 100,

or maybe not, as there is disagreement on the issue also ;-).

  or at least say that some are
> using that as the guideline. 200 char lines are harder to read.
>


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: PEP8 79 char max Terry Reedy <tjreedy@udel.edu> - 2013-07-29 17:55 -0400

csiph-web