Message222333
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. |
|
Date |
User |
Action |
Args |
2014-07-05 02:28:01 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, r.david.murray, cool-RR, BreamoreBoy, josh.r |
2014-07-05 02:28:01 | terry.reedy | set | messageid: <1404527281.4.0.679273908657.issue21911@psf.upfronthosting.co.za> |
2014-07-05 02:28:01 | terry.reedy | link | issue21911 messages |
2014-07-05 02:28:00 | terry.reedy | create | |
|