Skip to content

Remove deprecated re.template, re.T, re.TEMPLATE #105687

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

Closed
sobolevn opened this issue Jun 12, 2023 · 0 comments
Closed

Remove deprecated re.template, re.T, re.TEMPLATE #105687

sobolevn opened this issue Jun 12, 2023 · 0 comments
Assignees
Labels
3.13 bugs and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@sobolevn
Copy link
Member

sobolevn commented Jun 12, 2023

Feature or enhancement

It is time to remove deprecated stuff from re module.
The 3.11 says:

The :func:re.template function and the corresponding :const:re.TEMPLATE
and :const:re.T flags are deprecated, as they were undocumented and
lacked an obvious purpose. They will be removed in Python 3.13.

Pitch

I think that now there are no things that stop us from doing so, all issues were settled in #92728

Previous discussion

Previous discussion: #92728
Initial removal: b09184b
Revert of the removal + deprecation: 16a7e4a

PR is on its way.

Linked PRs

@sobolevn sobolevn added type-feature A feature request or enhancement stdlib Python modules in the Lib dir 3.13 bugs and security fixes labels Jun 12, 2023
@sobolevn sobolevn self-assigned this Jun 12, 2023
sobolevn added a commit to sobolevn/cpython that referenced this issue Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants