Feature request: better IndexError

If my code says
a = arr[b // 2]
Index out of bounds

It would be nice to see what the values were like

Index out of bounds, requested 23, size is 20

or something like that :)
Cheers!

3 Likes