[issue5353] Improve IndexError messages with actual values
Raymond Hettinger
report at bugs.python.org
Sun Nov 21 23:52:51 CET 2010
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
I'm abandoning this one since I couldn't find a way to do it that didn't impair performance. Unlike C++, it is not uncommon in Python to use exceptions such as IndexError for control flow. There was too little added value in building-out this message to warrant the change (the current message is very clear about what the problem is, it just doesn't dump all the variables involved -- this is not uncommon for python error messages).
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5353>
_______________________________________
More information about the Python-bugs-list
mailing list