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 jura05
Recipients georg.brandl, jura05
Date 2009-01-06.13:11:52
SpamBayes Score 0.14270136
Marked as misclassified No
Message-id <1231247513.95.0.909259202166.issue4857@psf.upfronthosting.co.za>
In-reply-to
Content
the following code produces syntax error:
>>> (x, y) += 1
While this is documented in
http://docs.python.org/3.0/reference/simple_stmts.html#augmented-assignment-statements
("An augmented assignment evaluates the target (which, unlike normal
аssignment statements, cannot be an unpacking)..."),
the syntax specification doesn't reflect this:
http://docs.python.org/3.0/reference/simple_stmts.html#grammar-token-augmented_assignment_stmt
http://docs.python.org/3.0/reference/grammar.html
History
Date User Action Args
2009-01-06 13:11:54jura05setrecipients: + jura05, georg.brandl
2009-01-06 13:11:53jura05setmessageid: <1231247513.95.0.909259202166.issue4857@psf.upfronthosting.co.za>
2009-01-06 13:11:53jura05linkissue4857 messages
2009-01-06 13:11:52jura05create