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 eric.smith
Recipients eric.smith, mark.dickinson, skrah
Date 2010-02-22.21:47:17
SpamBayes Score 1.0097587e-05
Marked as misclassified No
Message-id <1266875238.62.0.546244713263.issue6871@psf.upfronthosting.co.za>
In-reply-to
Content
[If the status is pending, any comment turns it back to open, by design.]

I'd rather float.__format__ agree with %-formatting for floats than with anything else.

>>> '%+08.4f' % float('nan')
'+0000nan'
>>> "%00f" % float('123')
'123.000000'

(Not sure about the precision being displayed on that last one, I'll have to think about it.)
History
Date User Action Args
2010-02-22 21:47:18eric.smithsetrecipients: + eric.smith, mark.dickinson, skrah
2010-02-22 21:47:18eric.smithsetmessageid: <1266875238.62.0.546244713263.issue6871@psf.upfronthosting.co.za>
2010-02-22 21:47:17eric.smithlinkissue6871 messages
2010-02-22 21:47:17eric.smithcreate