[Python-ideas] PEP8 operator must come before line break
Serhiy Storchaka
storchaka at gmail.com
Thu Apr 14 15:22:03 EDT 2016
On 14.04.16 20:23, Guido van Rossum wrote:
> Thanks, that was obviously an oversight. I've fixed the PEP.
>
> If the discussion ends up with rough consensus on changing this I will
> happily change it back (and change all other occurrences to match the
> new rule).
>
> Note that my request for "rough consensus" does *not* imply a vote. +1
> and -1 votes (nor fractions in between) should not be posted --
> however cogent arguments for/against the status quo (or for
> relinquishing the rule altogether) are welcome.
An argument for operators "+" and "-":
result = expr1 +
expr2
is syntax error, while
result = expr1
+ expr2
is silent bug.
More information about the Python-ideas
mailing list