Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18fd892

Browse files
csabellaned-deily
authored andcommitted
bpo-30147: Add re.escape changes to 3.7 What's New (GH-5978)
1 parent 74382a3 commit 18fd892

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)