bpo-30147: Add re.escape changes to 3.7 What's New (GH-5978)

This commit is contained in:
Cheryl Sabella 2018-03-04 18:06:57 -05:00 committed by Ned Deily
parent 74382a3f17
commit 18fd892463

View file

@ -1214,6 +1214,10 @@ Changes in the Python API
(Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)
* Change :func:`re.escape` to only escape regex special characters instead
of escaping all characters other than ASCII letters, numbers, and ``'_'``.
(Contributed by Serhiy Storchaka in :issue:`29995`.)
* :class:`tracemalloc.Traceback` frames are now sorted from oldest to most
recent to be more consistent with :mod:`traceback`.
(Contributed by Jesse Bakker in :issue:`32121`.)