#14854: Follow PEP 8 -- Style Guide for Python Code
-------------------------------------+--------------------------------------
Reporter: sorl | Owner: nobody
Status: closed | Milestone:
Component: Core framework | Version: 1.2
Resolution: wontfix | Keywords: pep8
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by sorl):
Sure, I'd argue that readability can be good with longer lines but most of
the time its not and its a sign that you should write it a bit
differently. For example this code is not better off using long lines in
my mind:
https://github.com/django/django/blob/master/django/views/generic/date_based.py#L269
For what its worth I think grok code looks really nice as a comparison:
http://svn.zope.org/repos/main/grok/trunk/src/grok/
--
Ticket URL: <http://code.djangoproject.com/ticket/14854#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.