[issue33669] str.format should raise exception when placeholder number doesn't match argument number
Xiang Zhang
report at bugs.python.org
Mon May 28 11:22:58 EDT 2018
Xiang Zhang <angwerzx at 126.com> added the comment:
Yes, this is a breaking change. A currently working piece of code suddenly raises an exception.
But, please note Serhiy in your example you have the same bug as me, you've gotten an oversight bug in it: it's {:d} not %s. That's why I want the improvement.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33669>
_______________________________________
More information about the Python-bugs-list
mailing list