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 tlesher
Recipients amaury.forgeotdarc, brett.cannon, georg.brandl, rhettinger, tlesher
Date 2010-07-26.13:41:17
SpamBayes Score 1.01479e-05
Marked as misclassified No
Message-id <1280151680.09.0.0544368793266.issue4510@psf.upfronthosting.co.za>
In-reply-to
Content
Ugh.  That's a reasonable objection.

What's the best thing to do in this case, generally speaking?

list.index() does print the full repr on a value error; and a quick grep shows a number of other similar uses, although those don't seem to be as easy to trigger inadvertently.

Should this feature be removed from list.index as well?
History
Date User Action Args
2010-07-26 13:41:20tleshersetrecipients: + tlesher, brett.cannon, georg.brandl, rhettinger, amaury.forgeotdarc
2010-07-26 13:41:20tleshersetmessageid: <1280151680.09.0.0544368793266.issue4510@psf.upfronthosting.co.za>
2010-07-26 13:41:18tlesherlinkissue4510 messages
2010-07-26 13:41:17tleshercreate