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 georg.brandl
Recipients benjamin.peterson, bronikkk, georg.brandl, meador.inge
Date 2012-01-13.19:47:03
SpamBayes Score 0.00038817126
Marked as misclassified No
Message-id <1326484024.27.0.588295255137.issue13746@psf.upfronthosting.co.za>
In-reply-to
Content
This is because the parentheses don't really belong to the tuple literal.

You could just as well write

b = 1, 3.14, 'abc', u'XYZ'

In other cases, the parentheses may be needed for grouping purposes (e.g. in function calls), but they still are only for grouping, just as in (a + b) * c.

For the empty tuple, where the parentheses actually are part of the literal, the col_offset is correct.
History
Date User Action Args
2012-01-13 19:47:04georg.brandlsetrecipients: + georg.brandl, benjamin.peterson, meador.inge, bronikkk
2012-01-13 19:47:04georg.brandlsetmessageid: <1326484024.27.0.588295255137.issue13746@psf.upfronthosting.co.za>
2012-01-13 19:47:03georg.brandllinkissue13746 messages
2012-01-13 19:47:03georg.brandlcreate