[New-bugs-announce] [issue17966] Lack of consistency in PEP 8 -- Style Guide for Python Code

Paul Jurczak report at bugs.python.org
Mon May 13 06:08:36 CEST 2013


New submission from Paul Jurczak:

This may be too subjective, but here it goes:

PEP 8 discourages vertical alignment: "More than one space around an assignment (or other) operator to align it with another", but contrary to this rule, vertical alignment is used many times in the same paragraph, e.g.:
Yes: spam(1)
No:  spam (1)
If vertical alignment is so evil, the above should be changed to:
Yes: spam(1)
No: spam (1)

Disclosure: I use vertical alignment in my code quite often.

http://www.python.org/dev/peps/pep-0008/

----------
assignee: docs at python
components: Documentation
messages: 189093
nosy: docs at python, pauljurczak
priority: normal
severity: normal
status: open
title: Lack of consistency in PEP 8 -- Style Guide for Python Code
type: enhancement
versions: Python 2.7, Python 3.3

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


More information about the New-bugs-announce mailing list