This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tlynn
Recipients docs@python, tlynn
Date 2013-11-12.13:33:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384263232.23.0.922688589796.issue19560@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 8 currently has::

  Yes::

      ...
      c = (a+b) * (a-b)

  No::

      ...
      c = (a + b) * (a - b)

That looks wrong to me -- surely the parens are a sufficient
precedence hint, and don't need further squashing inside?
This will be worse with any non-trivial example.  I suspect
it may also lead to silly complications in code formatting tools.

This was changed by Guido as part of a reversion in issue 16239,
but I wonder whether that example was intended to be included?
History
Date User Action Args
2013-11-12 13:33:52tlynnsetrecipients: + tlynn, docs@python
2013-11-12 13:33:52tlynnsetmessageid: <1384263232.23.0.922688589796.issue19560@psf.upfronthosting.co.za>
2013-11-12 13:33:52tlynnlinkissue19560 messages
2013-11-12 13:33:51tlynncreate