Re: [Python-ideas] Consistency in naming [was Re: ...ALL CAPS] (off-list)

2019-02-18 Thread Carl Smith
I shouldn't let it bother me, but that "Sent from my iPhone" cruft really gets under my skin. -- Carl Smith [email protected] On Mon, 4 Feb 2019 at 11:17, Paul Moore wrote: > On Mon, 4 Feb 2019 at 05:36, Christopher Barker > wrote: > > > > This is getting pretty off toipic, but I want to po

[Python-ideas] Discuss: what should statistics.mode do?

2019-02-18 Thread Steven D'Aprano
See https://bugs.python.org/issue35892 The issue here is that statistics.mode, as initially designed, raises an exception for the case of multiple equal most-frequent data points. This is true to the way mode is taught in schools, but it may not be the most useful behaviour. Raymond has sugges

[Python-ideas] PEP 8 update on line length

2019-02-18 Thread Simon
Hello, I'd like to propose an update to PEP8. Indeed, the 80 characters per line guideline is, I feel, outdated. I understand the need for it, back when monitors were small, and everyone coded on terminals, but nowadays, I feel like that guideline is more of a hinderance, and that it promotes poo

Re: [Python-ideas] PEP 8 update on line length

2019-02-18 Thread David Mertz
You either have much better eyes to read tiny fonts than I do, or maybe a much larger monitor (it's hard for me to fit a 30"" monitor in my laptop bag). But that's not even the real issue. If the characters were in giant letters on billboards, I still would never want more than 80 of them on a lin

Re: [Python-ideas] PEP 8 update on line length

2019-02-18 Thread Terry Reedy
On 2/18/2019 11:37 PM, Simon wrote: Hello, I'd like to propose an update to PEP8. Indeed, the 80 characters per line guideline is, I feel, outdated. Strictly speaking, PEP8 applies only to CPython stdlib code. Please read the introduction. Adapt it as you will for your code. I understand

Re: [Python-ideas] Discuss: what should statistics.mode do?

2019-02-18 Thread Steve Barnes
-Original Message- From: Python-ideas On Behalf Of Steven D'Aprano Sent: 19 February 2019 00:16 To: [email protected] Subject: [Python-ideas] Discuss: what should statistics.mode do? See https://bugs.python.org/issue35892 The issue here is that statistics.mode, as initially des

Re: [Python-ideas] PEP 8 update on line length

2019-02-18 Thread Anders Hovmöller
> On 19 Feb 2019, at 05:48, David Mertz wrote: > > You either have much better eyes to read tiny fonts than I do, or maybe a > much larger monitor (it's hard for me to fit a 30"" monitor in my laptop bag). > > But that's not even the real issue. If the characters were in giant letters > on

Re: [Python-ideas] PEP 8 update on line length

2019-02-18 Thread Steve Barnes
From: Python-ideas On Behalf Of Anders Hovmöller Sent: 19 February 2019 06:11 To: David Mertz Cc: Simon ; python-ideas Subject: Re: [Python-ideas] PEP 8 update on line length > On 19 Feb 2019, at 05:48, David Mertz wrote: > > You either have much better eyes to read tiny fonts than I do, o

Re: [Python-ideas] PEP 8 update on line length

2019-02-18 Thread David Mertz
60, or 68, or 80 characters, is not per se a cognitive limit. Yes, sure whitespace counts much less towards that burden than do regular characters. And to a significant degrees, punctuation vs. letters vs. numbers matter. And sure familiar words such as keywords scan a bit easier than unfamiliar na

Re: [Python-ideas] PEP 8 update on line length

2019-02-18 Thread Mike Müller
Am 19.02.19 um 05:37 schrieb Simon: > Hello, > > I'd like to propose an update to PEP8. Indeed, the 80 characters per line > guideline is, I feel, outdated. > > I understand the need for it, back when monitors were small, and everyone > coded on terminals, but nowadays, I feel like that guidelin