Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-47211: Remove function re.template() and flag re.TEMPLATE #32300

Merged
merged 1 commit into from Apr 6, 2022

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 4, 2022

They were undocumented and never working.

https://bugs.python.org/issue47211

They were undocumented and never working.
@vstinner
Copy link
Member

@vstinner vstinner commented Apr 5, 2022

I search for re.template() and re.TEMPLATE with the regex (?i)re.template and no project of top 5000 PyPI projects use it. So I'm fine with removing it with no deprecation period.

$ ./search_pypi_top.py PYPI-2022-01-26-TOP-5000/ '(?i)re.template' -o re_template

Copy link
Member

@vstinner vstinner left a comment

LGTM.

@serhiy-storchaka serhiy-storchaka merged commit b09184b into python:main Apr 6, 2022
12 checks passed
@serhiy-storchaka serhiy-storchaka deleted the remove-re-template branch Apr 6, 2022
hroncok added a commit to hroncok/cpython that referenced this issue May 24, 2022
serhiy-storchaka pushed a commit that referenced this issue May 25, 2022
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"

This reverts commit b09184b.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 25, 2022
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (pythonGH-32300)"

This reverts commit b09184b.
(cherry picked from commit 16a7e4a)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
miss-islington added a commit that referenced this issue May 25, 2022
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"

This reverts commit b09184b.
(cherry picked from commit 16a7e4a)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants