Skip to content

Commit b7bdc0d

Browse files
committed
gh-151024: Add What's New 3.16 optimization entry
1 parent 2342027 commit b7bdc0d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Doc/whatsnew/3.16.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ module_name
141141

142142
* TODO
143143

144+
html
145+
----
146+
147+
* :func:`html.escape` and :func:`html.unescape` are now implemented in C, with
148+
the pure-Python versions kept as a fallback. This also speeds up
149+
:class:`html.parser.HTMLParser`, which relies on :func:`html.unescape`.
150+
(Contributed by Bernát Gábor in :gh:`151024`.)
151+
144152

145153

146154
Removed

0 commit comments

Comments
 (0)