Skip to content

Commit 088a8a5

Browse files
committed
- remove outdated code and expand change log entry
1 parent c081b10 commit 088a8a5

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changes
44
8.1 (unreleased)
55
----------------
66

7-
- Allow to use the package with Python 3.14.
7+
- Allow to use the package with Python 3.14 including t-string support.
88

99

1010
8.1a1.dev0 (2025-03-20)

src/RestrictedPython/transformer.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,11 +573,6 @@ def visit_TemplateStr(self, node):
573573
default.
574574
Those rendering logic would be affected by RestrictedPython as well.
575575
"""
576-
self.warn(
577-
node,
578-
'TemplateStr statements are not yet allowed, '
579-
'please use f-strings or a real template engine instead.')
580-
# self.not_allowed(node)
581576
return self.node_contents_visit(node)
582577

583578
def visit_Interpolation(self, node):
@@ -589,7 +584,6 @@ def visit_Interpolation(self, node):
589584
to make use of Template Strings, the security implications of
590585
Interpolations are limited in the context of RestrictedPython.
591586
"""
592-
# self.not_allowed(node)
593587
return self.node_contents_visit(node)
594588

595589
def visit_JoinedStr(self, node):

0 commit comments

Comments
 (0)