Repository navigation
Implement PEP 750 – Template Strings #132661
Description
Activity
- added3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
on Apr 17, 2025 - added a commit that references this issue
on Apr 30, 2025 We still need documentation.
Oh my bad!
Yes, let's keep this open for docs (planned to do that during the PyCon sprints) and some initial bug fixes that'll be needed.
Reacted by Jelle ZijlstraWe just got to string literals in #127833, an effort to refresh the language reference.
You're probably the best person to document t-strings, but I suggest not worrying much about details in the Lexical Analysis & Syntax chapters: we'll clean up any duplications, unclear references, etc. later.
Or @blaisep should be at the sprints if you want to collaborate in person.Reacted by Blaise PabonSounds good! cc also @pauleveritt and @davepeck who'll be working on docs as well
Reacted by Paul Everitt and Blaise PabonReacted by Dave Peck and Blaise PabonFYI the documentation PR is now marked as ready for review.
- added a commit that references this issue
on Jul 10, 2025 21 remaining items
- added 5 commits that reference this issue
on Aug 19, 2025 - added 5 commits that reference this issue
on Sep 9, 2025 - marked Misleading descriptions in the introduce of "Template" #137119 as a duplicate of this issue
on Nov 24, 2025 Python 3.14 is out with t-strings! 🚀
Anything more to do for this issue, or can we close it?
Let's close it. If bugs pop up, individual issues are the way to go.
Reacted by Hugo van Kemenade and StanleyReacted by Dave Peck and Stanley
See PEP 750 for more details.
Linked PRs
string.templatelib.convert()#135217templatelib#135218templatelib#135229Template/strconcatenation after PEP 750 spec update #135996"") forInterpolation.expression#136441"") forInterpolation.expression(GH-136441) #136511string.templatelib.convert()(GH-135217) #136671Template/strconcatenation after PEP 750 spec update (#135996) #136901templatelib(GH-135229) #136974