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 anacrolix
Recipients anacrolix
Date 2011-02-21.04:21:10
SpamBayes Score 2.6348253e-05
Marked as misclassified No
Message-id <1298262072.63.0.92596842133.issue11264@psf.upfronthosting.co.za>
In-reply-to
Content
The Format Specification Mini-Language is missing type 'i', generally the same as 'd', and ubiquitous in the libraries from which the specification is derived. See the 'd,i' conversion specifier in C: http://linux.die.net/man/3/printf, and the Old String Formatting Operations: http://docs.python.org/dev/py3k/library/stdtypes.html#old-string-formatting-operations.

>>> '{:d}'.format(3)
'3'
>>> '{:i}'.format(3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Unknown format code 'i' for object of type 'int'
History
Date User Action Args
2011-02-21 04:21:12anacrolixsetrecipients: + anacrolix
2011-02-21 04:21:12anacrolixsetmessageid: <1298262072.63.0.92596842133.issue11264@psf.upfronthosting.co.za>
2011-02-21 04:21:10anacrolixlinkissue11264 messages
2011-02-21 04:21:10anacrolixcreate