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 Barium
Recipients Barium, docs@python
Date 2014-10-03.09:31:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412328678.8.0.959126948842.issue22546@psf.upfronthosting.co.za>
In-reply-to
Content
The format documentation for the Format Specification Mini-Language for python 3.3 (perhaps newer and older as well) at: https://docs.python.org/3.3/library/string.html 

States for type '' (for floating point numbers):

    Similar to 'g', except with at least one digit past the decimal point and a default precision of 12. This is intended to match str(), except you can add the other format modifiers.

This appears not to be true, the following code example, run in Python 3.3.2:

>>> '{}'.format(3.14159265358979323846264338327950288419)
'3.141592653589793'

As it can be seen form the output the default precision appears to be 15.
History
Date User Action Args
2014-10-03 09:31:18Bariumsetrecipients: + Barium, docs@python
2014-10-03 09:31:18Bariumsetmessageid: <1412328678.8.0.959126948842.issue22546@psf.upfronthosting.co.za>
2014-10-03 09:31:18Bariumlinkissue22546 messages
2014-10-03 09:31:18Bariumcreate