Author mkleehammer
Date 2006-08-04.14:40:26
SpamBayes Score
Marked as misclassified
It would be very helpful to add more information to the
IndexErrors raised by the built-in classes.

Today, these errors look like:

  IndexError: list index out of range

When these occur, I usually have to add print
statements before the error and reproduce the problem
to determine what has gone wrong.  

If the list and tuple classes add the requested index
and the length of the structure, it would help a lot. 
Below is a suggestion:

  IndexError: list index 30 out of range; len=27

Date User Action Args
2008-01-20 09:59:49adminlinkissue1534607 messages
2008-01-20 09:59:49admincreate