Berker Peksag added the comment:

With patch applied:

  File "x.py", line 2
    1 + 1 = 2
    ^
SyntaxError: can't assign to operator

Without patch:

  File "x.py", line 2
    1 + 1 = 2
       ^
SyntaxError: can't assign to operator

The caret is located at the wrong place in both examples (which is the actual 
bug that needs to be fixed here.) This isn't a high priority bug and I think 
people can live with the current behavior until this is properly fixed. Pushing 
a premature patch will only introduce more code churn.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25677>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to