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

Brett Cannon brett at python.org
Fri May 20 14:40:12 EDT 2016


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)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160520/ce1334c6/attachment.html>


More information about the Python-Dev mailing list