Author ncoghlan
Recipients Ramchandra Apte, eric.araujo, eric.smith, flox, meador.inge, ncoghlan, terry.reedy, vinay.sajip
Date 2012-06-12.11:57:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339502274.57.0.972359207196.issue13598@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-06-12 11:57:54ncoghlansetrecipients: + ncoghlan, terry.reedy, vinay.sajip, eric.smith, eric.araujo, flox, meador.inge, Ramchandra Apte
2012-06-12 11:57:54ncoghlansetmessageid: <1339502274.57.0.972359207196.issue13598@psf.upfronthosting.co.za>
2012-06-12 11:57:54ncoghlanlinkissue13598 messages
2012-06-12 11:57:53ncoghlancreate