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 JulienPalard, Mariatta, aeros, docs@python, eric.smith, fdrake, rhettinger
Date 2019-10-03.03:35:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570073739.25.0.503609582079.issue38351@roundup.psfhosted.org>
In-reply-to
Content
>  (Not that I can think of others off the top of my head.)

For the most part, templating examples can be switched to the .format() style but shouldn't be switched to f-strings.  The former technique is still necessary if someone wants to move templates to an external file or if they need to use gettext() i18n, f-strings don't work well in the latter case.

Also note, there are no plans to completely remove old-style formatting.  AFAICT, it will be around forever, so people still need to see some examples of each.
History
Date User Action Args
2019-10-03 03:35:39rhettingersetrecipients: + rhettinger, fdrake, eric.smith, docs@python, JulienPalard, Mariatta, aeros
2019-10-03 03:35:39rhettingersetmessageid: <1570073739.25.0.503609582079.issue38351@roundup.psfhosted.org>
2019-10-03 03:35:39rhettingerlinkissue38351 messages
2019-10-03 03:35:39rhettingercreate