Skip to content

Remove deprecated function locale.getdefaultlocale #134086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
picnixz opened this issue May 16, 2025 · 4 comments
Open

Remove deprecated function locale.getdefaultlocale #134086

picnixz opened this issue May 16, 2025 · 4 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@picnixz
Copy link
Member

picnixz commented May 16, 2025

Feature or enhancement

It was deprecated in Python 3.11, and planned to be removed in 3.13, but then delayed until 3.15.

Some related issues that we maybe need to solve before really removing it: #130796.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

#130796

Linked PRs

@picnixz picnixz added type-feature A feature request or enhancement stdlib Python modules in the Lib dir labels May 16, 2025
@mkaraev
Copy link
Contributor

mkaraev commented May 16, 2025

@picnixz it seems to be a good issue for first-time contribution. Could I help with it?

@StanFromIreland
Copy link
Contributor

StanFromIreland commented May 16, 2025

@mkaraev Feel free to submit a solution for:

Some related issues that we maybe need to solve before really removing it: #130796.

This one has to wait.

@sergey-miryanov
Copy link
Contributor

@picnixz it seems to be a good issue for first-time contribution. Could I help with it?

IIUC, you have to look 'easy' label - https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22easy%22

@StanFromIreland
Copy link
Contributor

I created a draft for when the dependent is resolved. What do we want to do with windows_locale? It is now no longer used, and is not documented, but also not private for some reason. Deprecate normally for 3.16 or similar depending on external usage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
Development

No branches or pull requests

4 participants