This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients eric.smith, py.user, r.david.murray
Date 2012-01-15.22:54:15
SpamBayes Score 8.638582e-05
Marked as misclassified No
Message-id <1326668056.56.0.934515329859.issue13790@psf.upfronthosting.co.za>
In-reply-to
Content
No, it wouldn't.  I expect

  "{}".format(x)

to produce something for an arbitrary x.  Breaking that would break a fundamental Python contract.

Improving the error message for 'd' is more possible.  Perhaps "the format code 'd' is not implemented by objects of type <type>"?
History
Date User Action Args
2012-01-15 22:54:16r.david.murraysetrecipients: + r.david.murray, eric.smith, py.user
2012-01-15 22:54:16r.david.murraysetmessageid: <1326668056.56.0.934515329859.issue13790@psf.upfronthosting.co.za>
2012-01-15 22:54:15r.david.murraylinkissue13790 messages
2012-01-15 22:54:15r.david.murraycreate