Re: [Python-Dev] PEP 7 contradiction for comment style

2017-01-11 Thread Brett Cannon
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 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, Bre

Re: [Python-Dev] PEP 7 contradiction for comment style

2017-01-10 Thread Benjamin Peterson
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 "Neve

[Python-Dev] PEP 7 contradiction for comment style

2017-01-10 Thread Brett Cannon
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 cod