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

gh-92728: Restore re.template, but deprecate it #93161

Merged
merged 9 commits into from May 25, 2022

Conversation

hroncok
Copy link
Contributor

@hroncok hroncok commented May 24, 2022

No description provided.

@hroncok hroncok marked this pull request as ready for review May 24, 2022
@hroncok
Copy link
Contributor Author

@hroncok hroncok commented May 24, 2022

Considering the relevant function/flag was not documented, I have decided not to add a versionchanged thing to the documentation of the re module. Let me know if I should.

Lib/re/__init__.py Show resolved Hide resolved
@serhiy-storchaka serhiy-storchaka self-requested a review May 24, 2022
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

👍

Lib/re/__init__.py Show resolved Hide resolved
@hroncok
Copy link
Contributor Author

@hroncok hroncok commented May 24, 2022

Could you please label this with 3.11 backport?

Lib/test/test_re.py Outdated Show resolved Hide resolved
@serhiy-storchaka serhiy-storchaka merged commit 16a7e4a into python:main May 25, 2022
13 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 25, 2022

Thanks @hroncok for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒🤖

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>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented May 25, 2022

GH-93206 is a backport of this pull request to the 3.11 branch.

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>
@hroncok hroncok deleted the dont_break_compatibility branch May 25, 2022
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.

None yet

4 participants