Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@sobolevn

Description

@sobolevn
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.