[issue18472] Update PEP 8 to encourage modern conventions

Guido van Rossum report at bugs.python.org
Thu Aug 1 18:45:06 CEST 2013


Guido van Rossum added the comment:

I think the current wording about line length makes it too easy to adopt 99 instead of 79.  I propose to go back to 79 only, and add this before the paragraph starting with "The preferred way of wrapping long lines ..."

"""
Some teams strongly prefer a longer line length.  For code maintained exclusively or primarily by a team that can reach agreement on this issue, it is okay to increase the line nominal line length from 80 to 100 characters (effectively increasing the maximum length to 99 characters), provided that comments and docstrings are still wrapped at 72 characters.
"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18472>
_______________________________________


More information about the Python-bugs-list mailing list