Nick Coghlan <ncogh...@gmail.com> added the comment: One brief comment on the wording of the error message: the inconsistent naming is actually copied from the str.format code.
>>> "{foo} {} {bar}".format(2, foo='fooval', bar='barval') 'fooval 2 barval' >>> "{foo} {0} {} {bar}".format(2, foo='fooval', bar='barval') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: cannot switch from manual field specification to automatic field numbering ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13598> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com