mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
bpo-30147: Add re.escape changes to 3.7 What's New (GH-5978)
This commit is contained in:
parent
74382a3f17
commit
18fd892463
1 changed files with 4 additions and 0 deletions
|
@ -1214,6 +1214,10 @@ Changes in the Python API
|
||||||
|
|
||||||
(Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)
|
(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
|
* :class:`tracemalloc.Traceback` frames are now sorted from oldest to most
|
||||||
recent to be more consistent with :mod:`traceback`.
|
recent to be more consistent with :mod:`traceback`.
|
||||||
(Contributed by Jesse Bakker in :issue:`32121`.)
|
(Contributed by Jesse Bakker in :issue:`32121`.)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue