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 scoder
Recipients eric.smith, scoder, serhiy.storchaka
Date 2016-08-20.21:27:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471728440.4.0.120401906423.issue27818@psf.upfronthosting.co.za>
In-reply-to
Content
You can easily see it by running timeit on fstrings, e.g. patched:

$ ./python -m timeit 'f"{34276394612:15}"'
1000000 loops, best of 3: 0.352 usec per loop
$ ./python -m timeit 'f"{34.276394612:8.6f}"'
1000000 loops, best of 3: 0.497 usec per loop

and original Py3.6 master:

$ ./python -m timeit 'f"{34276394612:15}"'
1000000 loops, best of 3: 0.435 usec per loop
$ ./python -m timeit 'f"{34.276394612:8.6f}"'
1000000 loops, best of 3: 0.589 usec per loop

It doesn't make much of a difference if you use constants or variables, BTW.
History
Date User Action Args
2016-08-20 21:27:20scodersetrecipients: + scoder, eric.smith, serhiy.storchaka
2016-08-20 21:27:20scodersetmessageid: <1471728440.4.0.120401906423.issue27818@psf.upfronthosting.co.za>
2016-08-20 21:27:20scoderlinkissue27818 messages
2016-08-20 21:27:19scodercreate