New submission from Aditya Shankar <aditn...@gmail.com>:

considering a list of 5 elements, if the 6th element is asked, the Interpreter 
would raise IndexError: list index out of range,
I think It'd be better if it actually said what the invalid index is

Improvement benefits:
*quicker debugging of faulty python code
*person debugging does not need to edit and restart the program to fix issue, 
sometimes at least

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36200>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to