Carlos Damázio <[email protected]> added the comment:
I've noticed this issue is quite not active, but I'm up on participating in it
if anyone is doing it already. Since then, this issue still persists:
>>> '{1}'.format()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: tuple index out of range
Reading further, I agree that improving the message is suitable. We should
leave the Index Exception while changing the text to "Replacement index %d out
of range for positional args tuple". Even though I find it quite extent for an
exception message, I guess it couldn't be any other way, unless someone gives a
better suggestion.
----------
nosy: +dmzz
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue21879>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com