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 rhettinger
Recipients ariebovenberg, docs@python, eric.smith, erlendaasland, rhettinger, tinchester, vinay.sajip
Date 2022-02-03.21:36:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Eric is absolutely right, due to function calls being 
> somewhat slow in Python the performance argument in
> practice falls in favor of f-strings.

Also f-strings can evaluate expressions in the template which is also a big win:

   f('Pending {len(req)} requests: {req[0]!r} ... {req[-1]!r}')
Date User Action Args
2022-02-03 21:36:10rhettingersetrecipients: + rhettinger, vinay.sajip, eric.smith, docs@python, tinchester, erlendaasland, ariebovenberg
2022-02-03 21:36:10rhettingersetmessageid: <>
2022-02-03 21:36:10rhettingerlinkissue46200 messages
2022-02-03 21:36:10rhettingercreate