[Python-bugs-list] [ python-Bugs-668302 ] a = b += c, a += b = c gives syntax error

SourceForge.net noreply@sourceforge.net
Tue, 14 Jan 2003 20:45:22 -0800


Bugs item #668302, was opened at 2003-01-14 20:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=668302&group_id=5470

Category: Parser/Compiler
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: L. Peter Deutsch (lpd)
Assigned to: Nobody/Anonymous (nobody)
Summary: a = b += c, a += b = c gives syntax error

Initial Comment:
The new augmented assignment operators apparently are
not syntactically parallel to the assignment operator.
I can't come up with an immediate reason why they
shouldn't be, and I would like them to be.

Python 2.2.1, Red Hat Linux 7.3

I looked in the release notes for Python 2.2.2, and
didn't see anything about this. I also searched the
open bug list for "assignment", and didn't see this
mentioned.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=668302&group_id=5470