]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92728: Restore re.template, but deprecate it (GH-93161)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 May 2022 06:32:20 +0000 (23:32 -0700)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 06:32:20 +0000 (23:32 -0700)
commit74b205b3eb6432d81d745da1dae4359e42ae76d4
treef8c35e40543963fbc51066a94cde7b3425ba01ef
parent7a5f190c9fa7c6cbd334dfea9ae6032ac886dd89
gh-92728: Restore re.template, but deprecate it (GH-93161)

Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"

This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
(cherry picked from commit 16a7e4a0b75080275bf12cfb71d54b01d85099b2)

Co-authored-by: Miro HronĨok <miro@hroncok.cz>
Doc/whatsnew/3.11.rst
Lib/re/__init__.py
Lib/re/_compiler.py
Lib/re/_constants.py
Lib/re/_parser.py
Lib/test/test_re.py
Misc/NEWS.d/3.11.0b1.rst
Misc/NEWS.d/next/Library/2022-05-24-10-59-02.gh-issue-92728.zxTifq.rst [new file with mode: 0644]
Modules/_sre/sre.c
Modules/_sre/sre_constants.h