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

Guido van Rossum guido at python.org
Fri May 20 14:41:09 EDT 2016


Because Emacs. :-) I am going to mute this thread now.

On Fri, May 20, 2016 at 11:40 AM, Brett Cannon <brett at python.org> wrote:

On Fri, 20 May 2016 at 09:46 Guido van Rossum <guido at python.org> 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 space specification to one-space, just why specify at all to that granularity of formatting? -Brett

On Fri, May 20, 2016 at 9:40 AM, Facundo Batista <facundobatista at gmail.com> wrote: > On Fri, May 20, 2016 at 1:27 PM, Brett Cannon <brett at python.org> 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 punctuation? :) > > I couldn't find it in the reference but AFAIK is something that is > also done in ReStructured Text. > > Regards, > > -- > . Facundo > > Blog: http://www.taniquetil.com.ar/plog/ > PyAr: http://www.python.org/ar/ > Twitter: @facundobatista _> ________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/guido%40python.org

-- --Guido van Rossum (python.org/~guido)

-- --Guido van Rossum (python.org/~guido)



More information about the Python-Dev mailing list