Skip to content

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

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

Activity

  1. added
    type-featureA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directory
    3.13only security fixes
    on Jun 12, 2023
  2. self-assigned this
    on Jun 12, 2023
  3. added a commit that references this issue on Jun 12, 2023
  4. added a commit that references this issue on Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions