Skip to content

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

Closed
@sobolevn

Description

@sobolevn

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

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixesstdlibPython modules in the Lib dirtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions