FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-47211: Remove function re.template() and flag re.TEMPLATE by serhiy-storchaka · Pull Request #32300 · python/cpython · GitHub

/ cpython Public

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

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:remove-re-template
Apr 6, 2022
Merged

bpo-47211: Remove function re.template() and flag re.TEMPLATE#32300
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:remove-re-template

Conversation

serhiy-storchaka commented Apr 4, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

They were undocumented and never working.

https://bugs.python.org/issue47211

vstinner commented Apr 5, 2022

Copy link
Copy Markdown
Member

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

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

serhiy-storchaka merged commit b09184b into python:main Apr 6, 2022
serhiy-storchaka deleted the remove-re-template branch April 6, 2022 16:53
hroncok added a commit to hroncok/cpython that referenced this pull request May 24, 2022
serhiy-storchaka pushed a commit that referenced this pull request 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 pull request 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 pull request 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL