[Python-Dev] PEP 7 contradiction for comment style

Brett Cannon brett at python.org
Wed Jan 11 14:33:28 EST 2017


https://github.com/python/peps/issues/176 is tracking the need to update
the PEP.

On Tue, 10 Jan 2017 at 23:45 Benjamin Peterson <benjamin at python.org> wrote:

> Your assumption is correct. Perhaps the PEP 7 should be partitioned into
> "< 3.6" and "3.6" sections where applicable.
>
> On Mon, Jan 9, 2017, at 12:50, Brett Cannon wrote:
> > https://bugs.python.org/issue29215 noticed that PEP 7 says "C++-style
> > line
> > comments" are allowed, but then later says "Never use C++ style //
> > one-line
> > comments." I'm assuming we are sticking with allowing C++-style comments
> > and the "never" link just needs an addendum to say that only applies to
> > code prior to Python 3.5, but I wanted to double-check before editing the
> > PEP.
> > _______________________________________________
> > 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/benjamin%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170111/81f94ab8/attachment.html>


More information about the Python-Dev mailing list