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 roysmith
Recipients roysmith
Date 2014-06-29.14:41:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404052862.84.0.668500091812.issue21879@psf.upfronthosting.co.za>
In-reply-to
Content
(ugh, hit return too soon)

>>> '{1}'.format()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: tuple index out of range

This is a confusing error message.  The user hasn't written any tuples, so a message about a tuple index out of range will just leave them scratching their head.  We should either return a more specific subclass of IndexError, or at least a more descriptive text describing what went wrong.

See https://mail.python.org/pipermail/python-list/2014-June/674188.html for background.
History
Date User Action Args
2014-06-29 14:41:02roysmithsetrecipients: + roysmith
2014-06-29 14:41:02roysmithsetmessageid: <1404052862.84.0.668500091812.issue21879@psf.upfronthosting.co.za>
2014-06-29 14:41:02roysmithlinkissue21879 messages
2014-06-29 14:41:02roysmithcreate