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 ned.deily
Recipients aubmoon, eric.smith, ned.deily
Date 2014-03-01.02:48:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393642116.1.0.734129626674.issue20811@psf.upfronthosting.co.za>
In-reply-to
Content
OK, so the issue is that Python float literals in the range 0.0 < x < 1.0 can be spelled without a "0" before the decimal point but the built-in format method for floats appears to always output the leading "0" even in cases where doing so cause the string to unnecessarily exceed the requested field width.  It does seem to be a bit of an edge case.  But I don't see anything in the current documentation or in PEP 3101 that addresses this case one way or another.  Eric, what's your take on this?
History
Date User Action Args
2014-03-01 02:48:36ned.deilysetrecipients: + ned.deily, eric.smith, aubmoon
2014-03-01 02:48:36ned.deilysetmessageid: <1393642116.1.0.734129626674.issue20811@psf.upfronthosting.co.za>
2014-03-01 02:48:36ned.deilylinkissue20811 messages
2014-03-01 02:48:35ned.deilycreate