Skip to content

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

Merged
serhiy-storchaka merged 9 commits into
python:mainfrom
hroncok:dont_break_compatibility
May 25, 2022
Merged

serhiy-storchaka merged 9 commits into
python:mainfrom
hroncok:dont_break_compatibility

Conversation

@hroncok

@hroncok hroncok commented May 24, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@hroncok
hroncok marked this pull request as ready for review May 24, 2022 09:07
@hroncok

hroncok commented May 24, 2022

Copy link
Copy Markdown
Contributor Author

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.

Comment thread Lib/re/__init__.py Resolved
@serhiy-storchaka
serhiy-storchaka self-requested a review May 24, 2022 09:25

@serhiy-storchaka serhiy-storchaka 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.

👍

Comment thread Lib/re/__init__.py Resolved
@hroncok

hroncok commented May 24, 2022

Copy link
Copy Markdown
Contributor Author

Could you please label this with 3.11 backport?

Comment thread Lib/test/test_re.py Resolved
@serhiy-storchaka serhiy-storchaka added the 3.11 only security fixes label May 25, 2022
@serhiy-storchaka
serhiy-storchaka merged commit 16a7e4a into python:main May 25, 2022
@serhiy-storchaka serhiy-storchaka added needs backport to 3.11 only security fixes and removed 3.11 only security fixes labels May 25, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

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

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label May 25, 2022
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>
@hroncok
hroncok deleted the dont_break_compatibility branch May 25, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants