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


Groups > comp.lang.python > #109993

Re: PEP8 needs revision

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: PEP8 needs revision
Date Wed, 15 Jun 2016 15:39:35 -0400
Lines 24
Message-ID <mailman.83.1466019577.2288.python-list@python.org> (permalink)
References <CAOF15SsuhBhgb=1Ld8mJXCCE-SW8qMOCjSoyMF26g65GFyKSUg@mail.gmail.com> <1466019575.403263.638845321.6A863290@webmail.messagingengine.com>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de lywiO08ssErlqY4Lz6jYUwowRnMPUO/xD5ezNX9YQFkg==
Return-Path <random832@fastmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'context': 0.05; 'expressions': 0.07; 'formatting': 0.07; 'interpreted': 0.07; 'received:internal': 0.09; 'output': 0.13; 'wed,': 0.15; 'cares': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'newlines': 0.16; 'readability.': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'received:psf.io': 0.16; 'valid.': 0.16; 'whitespace.': 0.16; 'wrote:': 0.16; 'refers': 0.18; 'language': 0.19; 'programming': 0.22; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'discussion': 0.24; "doesn't": 0.26; 'whitespace': 0.29; "we're": 0.30; 'code': 0.30; '15,': 0.30; 'source': 0.33; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'expect': 0.37; 'whom': 0.37; 'received:66': 0.38; 'speak': 0.38; 'means': 0.39; 'format': 0.39; 'to:addr:python.org': 0.40; 'care': 0.60; 'header:Message- Id:1': 0.61; 'yes': 0.62; 'thomas': 0.63; 'more': 0.63; 'information': 0.63; 'within': 0.64; 'offer': 0.66; 'talking': 0.67; 'papers,': 0.84; 'typesetting': 0.84; 'speaks': 0.91; 'subject:needs': 0.93
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=Tq2D/LSUEtZBjOkRRhrg+ztWq+8=; b=s42PJR KUaEGjkjKr6lGorqppum6wLzi9Qz8i8Dr+uK6j3MCCc2cBYT4/o/VdJQ0aw4DYpV kLDrZRTv3VMrFWw+dMLHrsOd6OUgdJebTlvXTmcaUAVYtzjQiMCNjD5ZWpr5Ey5P 5CXHa406pBLrFwPAmqU10ioJ1rZZJFDRmpMuU=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Tq2D/LSUEtZBjOk RRhrg+ztWq+8=; b=FH/kb0hnTvqohltHuUaLjj9/5onShtB0YCG14y/gg7+MMq/ ARrEQnQ/6E5uvKv3jRQU82Uv7Bo8MzWGgjXmGfP/m6tDqm+eBoYc9hpEKCIpirVo DWwUnWV0nrwjFSzeyMt1oUHUIM8g9jOXcpYBE255VsVVDpGldkdA0dyr6aow=
X-Sasl-Enc Gei1kNtc7c4qF5YIAf9eUSgIS2sOvYkXN6k49Det7B1c 1466019575
X-Mailer MessagingEngine.com Webmail Interface - ajax-aff28cd1
In-Reply-To <CAOF15SsuhBhgb=1Ld8mJXCCE-SW8qMOCjSoyMF26g65GFyKSUg@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <1466019575.403263.638845321.6A863290@webmail.messagingengine.com>
X-Mailman-Original-References <CAOF15SsuhBhgb=1Ld8mJXCCE-SW8qMOCjSoyMF26g65GFyKSUg@mail.gmail.com>
Xref csiph.com comp.lang.python:109993

Show key headers only | View raw


On Wed, Jun 15, 2016, at 15:18, Kyle Thomas wrote:
> To Whom It May Concern,
> Knuth's quote refers to the output of TeX, the programming language he
> authored. The quote cannot be interpreted to speak about formatting of
> source-code. 

It speaks about what is more readable, and is mentioned in the context
of a general discussion of readability.

> One bit of evidence I can offer is that TeX's source only
> cares about multiple newlines in considering the multiplicity of
> whitespace. This means that Knuth's quote likely has little or no bearing
> on the format of source-code.

Yes but we're not talking about source code as computer code (Python's
source doesn't care about whitespace within parenthesized expressions at
all), we're talking about source code as human-readable information.
Looking to other traditions of displaying human-readable information
(mathematical typesetting traditions as described by Knuth) is entirely
valid.

He made that choice, one assumes, because it's what Mathematicians
expect and like to see in their papers, and they want that because it is
more readable.

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


Thread

Re: PEP8 needs revision Random832 <random832@fastmail.com> - 2016-06-15 15:39 -0400

csiph-web