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 2009-09-13.23:29:54
SpamBayes Score 5.603431e-09
Marked as misclassified No
Message-id <1252884597.2.0.471106538804.issue6871@psf.upfronthosting.co.za>
In-reply-to
Content
The '0' fill character is forcing '=' alignment (per the PEP). This
looks like a bug to me, since it should use the specified alignment.

This is not a float-only problem, it applies to the other built-in types
as well:
>>> format(2, '0<20')
'00000000000000000002'
>>> format(2, '1<20')
'21111111111111111111'

There are too many distinct issues combined here, I'll create a new
issue just for this bug.
History
Date User Action Args
2009-09-13 23:29:57eric.smithsetrecipients: + eric.smith, mark.dickinson, skrah
2009-09-13 23:29:57eric.smithsetmessageid: <1252884597.2.0.471106538804.issue6871@psf.upfronthosting.co.za>
2009-09-13 23:29:55eric.smithlinkissue6871 messages
2009-09-13 23:29:54eric.smithcreate