[Python-ideas] PEP 8 coding style included in grammar ?
Chris Angelico
rosuav at gmail.com
Wed Mar 1 19:27:43 EST 2017
On Thu, Mar 2, 2017 at 11:04 AM, Barry Warsaw <barry at python.org> wrote:
> On Mar 01, 2017, at 03:04 PM, Mathieu BEAL wrote:
>
>>I was wondering why the PEP coding style (
>>https://www.python.org/dev/peps/pep-0008/) is not natively included in python
>>grammar ?
>
> Well, the simple answer is that the grammar predates PEP 8 (or any PEP) by
> many years.
Also, the grammar has a much stricter backward compatibility guarantee
than any style guide ever can (or should).
After some discussion about this and related topics on python-list, I
posted this collection:
http://rosuav.blogspot.com/2016/04/falsehoods-programmers-believe-about.html
ChrisA
More information about the Python-ideas
mailing list