Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-22 Thread Random832
On Sun, May 22, 2016, at 11:15, Peter Ludemann via Python-Dev wrote: > I just tried a re-flow in emacs (M-q or fill-paragraph) and it didn't > change my single space to two (it also changed 3 spaces after a period > to 2; and it preserved my hanging indents). It won't change a single space to

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-22 Thread Peter Ludemann via Python-Dev
I just tried a re-flow in emacs (M-q or fill-paragraph) and it didn't change my single space to two (it also changed 3 spaces after a period to 2; and it preserved my hanging indents). I have no idea what vim does. (OTOH, emacs annoyingly adds a blank line to my """ docstrings, which I remove

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-21 Thread Stephen J. Turnbull
Bernardo Sulzbach writes: > > On 05/20/2016 09:27 AM, Brett Cannon wrote: > > > > The period is a full-stop punctuation mark, but visually obscure [1]. > > It is small. This does not make it hard to notice, however. That depends on fonts, and on the ability of the user to write correctly as

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Philip Jenvey
So is line breaks before or after operators . -- Philip Jenvey > On May 20, 2016, at 9:46 AM, Guido van Rossum wrote: > > ALso, in case anyone reading this didn't realize, this is a classic > internet debate that has been going on for decades (just not on > python-dev). Just

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Guido van Rossum
Because Emacs. :-) I am going to mute this thread now. On Fri, May 20, 2016 at 11:40 AM, Brett Cannon wrote: > > > On Fri, 20 May 2016 at 09:46 Guido van Rossum wrote: >> >> ALso, in case anyone reading this didn't realize, this is a classic >> internet

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Brett Cannon
On Fri, 20 May 2016 at 09:46 Guido van Rossum wrote: > ALso, in case anyone reading this didn't realize, this is a classic > internet debate that has been going on for decades (just not on > python-dev). Just Google it. > Yes, I don't mean to suggest we should change the two

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Bernardo Sulzbach
On 05/20/2016 09:27 AM, Brett Cannon wrote: The period is a full-stop punctuation mark, but visually obscure [1]. It is small. This does not make it hard to notice, however. Not to mention that it will usually be followed by a capitalized letter, which further highlights it. Commas usually

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Guido van Rossum
ALso, in case anyone reading this didn't realize, this is a classic internet debate that has been going on for decades (just not on python-dev). Just Google it. On Fri, May 20, 2016 at 9:40 AM, Facundo Batista wrote: > On Fri, May 20, 2016 at 1:27 PM, Brett Cannon

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Ethan Furman
On 05/20/2016 09:27 AM, Brett Cannon wrote: Is there a specific reason for calling out two spaces in comments after a period(I realize it's probably for consistency, but I sure don't ever think about this when I write comment)? Otherwise who actually still writes using two spaces after

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Facundo Batista
On Fri, May 20, 2016 at 1:27 PM, Brett Cannon wrote: > Is there a specific reason for calling out two spaces in comments after a > period(I realize it's probably for consistency, but I sure don't ever think > about this when I write comment)? Otherwise who actually still writes

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Bernardo Sulzbach
On 05/20/2016 01:27 PM, Brett Cannon wrote: Is there a specific reason for calling out two spaces in comments after a period(I realize it's probably for consistency, but I sure don't ever think about this when I write comment)? Otherwise who actually still writes using two spaces after

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Guido van Rossum
In Emacs, the paragraph reflow commands still try to keep a period followed by only one space together on a line, under the assumption that it might be something like `Dr. Brett Cannon`. A reasonable HTML generator should ignore the second space. So all in all I still like the two-space rule --

[Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Brett Cannon
Is there a specific reason for calling out two spaces in comments after a period(I realize it's probably for consistency, but I sure don't ever think about this when I write comment)? Otherwise who actually still writes using two spaces after punctuation? :)