◐ Shell
clean mode source ↗

gh-130796: Undeprecate locale.getdefaultlocale() by vstinner · Pull Request #143069 · python/cpython

@vstinner

@vstinner vstinner commented

Dec 22, 2025

edited by github-actions Bot

Loading

@hugovk

Should we note the undeprecation in What's New?

Let's also remove/update in Doc/deprecations/pending-removal-in-3.15.rst

@StanFromIreland

I think adding a news entry makes sense, it may cause confusion now when one searches the changelog, and sees it is deprecated with no un-deprecation note.

Update Doc/deprecations/pending-removal-in-3.15.rst.

@vstinner

hugovk

Choose a reason for hiding this comment

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

Thanks.

StanFromIreland

Choose a reason for hiding this comment

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

LGTM

@vstinner vstinner deleted the undeprecate_getdefaultlocale branch

December 23, 2025 15:31

This was referenced

Jun 11, 2026

@hugovk

@miss-islington-app

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app

Sorry, @vstinner, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 6536fab19410ce701575b553d381cf805d3ef323 3.13

@miss-islington-app

Sorry, @vstinner, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 6536fab19410ce701575b553d381cf805d3ef323 3.14

@bedevere-app

@bedevere-app

hugovk added a commit that referenced this pull request

Jun 11, 2026
…151317)

Co-authored-by: Victor Stinner <vstinner@python.org>

hugovk added a commit that referenced this pull request

Jun 11, 2026
…151318)

Co-authored-by: Victor Stinner <vstinner@python.org>