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 terry.reedy
Recipients BreamoreBoy, cool-RR, josh.r, r.david.murray, rhettinger, terry.reedy
Date 2014-07-05.02:28:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404527281.4.0.679273908657.issue21911@psf.upfronthosting.co.za>
In-reply-to
Content
I have several times found exception messages to be under-informative, and I am pretty sure this is one of them. The obvious use case is so I don't have to insert a print statement, which I can only do if the error is in Python code, to get the essential info that Python could have told me but didn't.

For for loops, StopIteration has mostly taken over the flow control job that IndexError did and only occasionally still does.
History
Date User Action Args
2014-07-05 02:28:01terry.reedysetrecipients: + terry.reedy, rhettinger, r.david.murray, cool-RR, BreamoreBoy, josh.r
2014-07-05 02:28:01terry.reedysetmessageid: <1404527281.4.0.679273908657.issue21911@psf.upfronthosting.co.za>
2014-07-05 02:28:01terry.reedylinkissue21911 messages
2014-07-05 02:28:00terry.reedycreate