]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92728: Restore re.template, but deprecate it (GH-93161)
authorMiro Hrončok <miro@hroncok.cz>
Wed, 25 May 2022 06:05:35 +0000 (08:05 +0200)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 06:05:35 +0000 (09:05 +0300)
commit16a7e4a0b75080275bf12cfb71d54b01d85099b2
tree6edf536e6e3c99af34a8a8d64d06e17c0cf22641
parent08e4e887f2d4650972272b2f4441485f3e1e9aab
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.
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