GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove deprecated `re.template`, `re.T`, `re.TEMPLATE` · Issue #105687 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove deprecated re.template, re.T, re.TEMPLATE#105687
Copy link
Assignees
sobolevn
Labels
3.13only security fixesonly 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

Description

@sobolevn
sobolevn
opened on Jun 12, 2023
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

  • gh-105687: Remove deprecated objects from re module #105688

Activity

  1. sobolevn
    added
    type-featureA feature request or enhancementA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    3.13only security fixesonly security fixes
    on Jun 12, 2023
  2. sobolevn
    self-assigned this
    on Jun 12, 2023
  3. sobolevn
    added a commit that references this issue on Jun 12, 2023

    pythongh-105687: Remove deprecated objects from `re` module

    4ba114b
  4. vstinner
    added a commit that references this issue on Jun 14, 2023

    gh-105687: Remove deprecated objects from `re` module (#105688)

    67f69db
  5. vstinner
    closed this as completedon Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @sobolevn
    sobolevn

Labels

3.13only security fixesonly 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

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.