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
Date 2009-04-05.13:26:36
SpamBayes Score 0.0005775279
Marked as misclassified No
Message-id <1238937999.16.0.513375086315.issue5686@psf.upfronthosting.co.za>
In-reply-to
Content
This isn't testing what I thought it was testing. I'd forgotten that
format(x, '') is exactly equivalent to str(x).

The better test is using a format string of '<':
>>> 1e200.__format__('<')
'1.0e+200'
>>> 1e200.__format__('<g')
'1e+200'

So this is a non-issue: the current behavior matches the PEP
description. The online docs could still be tweaked, though.
History
Date User Action Args
2009-04-05 13:26:39eric.smithsetrecipients: + eric.smith, mark.dickinson
2009-04-05 13:26:39eric.smithsetmessageid: <1238937999.16.0.513375086315.issue5686@psf.upfronthosting.co.za>
2009-04-05 13:26:36eric.smithlinkissue5686 messages
2009-04-05 13:26:36eric.smithcreate