Skip to content

Commit f92478d

Browse files
miss-islingtoncsabella
authored andcommitted
[3.7] bpo-30147: Add re.escape changes to 3.7 What's New (GH-5978) (GH-5979)
(cherry picked from commit 18fd892) Co-authored-by: Cheryl Sabella <[email protected]>
1 parent a5303dd commit f92478d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/whatsnew/3.7.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,10 @@ Changes in the Python API
12141214

12151215
(Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)
12161216

1217+
* Change :func:`re.escape` to only escape regex special characters instead
1218+
of escaping all characters other than ASCII letters, numbers, and ``'_'``.
1219+
(Contributed by Serhiy Storchaka in :issue:`29995`.)
1220+
12171221
* :class:`tracemalloc.Traceback` frames are now sorted from oldest to most
12181222
recent to be more consistent with :mod:`traceback`.
12191223
(Contributed by Jesse Bakker in :issue:`32121`.)

0 commit comments

Comments
 (0)