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 lebigot
Recipients docs@python, lebigot
Date 2014-04-10.12:19:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397132375.36.0.349385981395.issue21195@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for a None (empty) format for floats indicates that it is equivalent to the g format. This does not appear to be correct (http://stackoverflow.com/questions/16525924/precise-definition-of-float-string-formatting).

The Python 3.4 documentation (https://docs.python.org/3.4/library/string.html#format-specification-mini-language) seems to be much closer to what Python 2.7 does.

It would be useful to have a more correct documentation for the effect of a None format for floats in Python 2.7 (maybe by copying the Python 3.4 documentation if it applies).
History
Date User Action Args
2014-04-10 12:19:35lebigotsetrecipients: + lebigot, docs@python
2014-04-10 12:19:35lebigotsetmessageid: <1397132375.36.0.349385981395.issue21195@psf.upfronthosting.co.za>
2014-04-10 12:19:35lebigotlinkissue21195 messages
2014-04-10 12:19:34lebigotcreate