[Python-Dev] PEP 7 contradiction for comment style

Benjamin Peterson benjamin at python.org
Wed Jan 11 02:45:51 EST 2017


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


More information about the Python-Dev mailing list