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 — gh-104886: Remove deprecated configparser.LegacyInterpolation by hugovk · Pull Request #104887 · python/cpython

Conversation

@hugovk

@hugovk hugovk commented May 24, 2023 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Closes #104886.

Remove the undocumented configparser.LegacyInterpolation class.

It was deprecated in the docstring since Python 3.2, deprecated with a warning since Python 3.11, and scheduled for removal in 3.13.

  • Issue: Remove deprecated configparser.LegacyInterpolation class #104886

📚 Documentation preview 📚: https://cpython-previews--104887.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hugovk
Remove deprecated configparser.LegacyInterpolation
4352bcf
@bedevere-bot bedevere-bot added the awaiting core review label May 24, 2023
@bedevere-bot bedevere-bot mentioned this pull request May 24, 2023
Remove deprecated configparser.LegacyInterpolation class #104886
Closed
@hugovk hugovk added stdlib Standard Library Python modules in the Lib/ directory 3.13 only security fixes and removed awaiting core review labels May 24, 2023
@hugovk
Merge branch 'main' into rm-configparser.LegacyInterpolation
fd9dea8
@hugovk hugovk mentioned this pull request May 25, 2023
gh-104773: PEP 594: Remove the audioop module #104937
Merged
vstinner
vstinner approved these changes May 25, 2023
View reviewed changes

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I just had a minor suggestion.

@ambv: Was it you who changed this interpolation method?

Wow, it took a while to completely finish the transition :-)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Doc/whatsnew/3.13.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot added the awaiting merge label May 25, 2023
@ambv

ambv commented May 25, 2023

Copy link
Copy Markdown
Contributor

Yeah, I originally never intended to remove the old one but here we are!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented May 25, 2023

Copy link
Copy Markdown
Member

Yeah, I originally never intended to remove the old one but here we are!

Well, you first wrote:

class BrokenInterpolation(Interpolation):
    """Deprecated interpolation as implemented in the classic ConfigParser.

It was marked as "deprecated" in the docstring ;-)

Maybe it's time to break the API again, and add a pending deprecated VeryBadlyBrokenInterpolation class :-D

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hugovk and others added 2 commits May 25, 2023 19:28
@hugovk @vstinner
Improve wording
823584d
Co-authored-by: Victor Stinner <[email protected]>
@hugovk
Improve wording
039c4f9
vstinner
vstinner approved these changes May 25, 2023
View reviewed changes

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hugovk
Merge branch 'main' into rm-configparser.LegacyInterpolation
f4ef165
@hugovk
hugovk enabled auto-merge (squash) May 26, 2023 05:43
@hugovk
hugovk merged commit 3f9c60f into python:main May 26, 2023
@hugovk
hugovk deleted the rm-configparser.LegacyInterpolation branch May 26, 2023 06:06
@bedevere-bot bedevere-bot removed the awaiting merge label May 26, 2023
@donbarbos donbarbos mentioned this pull request Aug 10, 2025
[stdlib] Deprecate old functions python/typeshed#14553
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner vstinner approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

3.13 only security fixes stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Remove deprecated configparser.LegacyInterpolation class

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@hugovk @ambv @vstinner @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.