[issue18162] Add index attribute to IndexError

Ram Rachum report at bugs.python.org
Sat Jul 5 15:17:26 CEST 2014


Ram Rachum added the comment:

Since #21911 has been merged into this issue, I'd like to add: Please also include the length of the sequence in the exception message. It can help with debugging.

----------
nosy: +cool-RR

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18162>
_______________________________________


More information about the Python-bugs-list mailing list