-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-104783: Remove locale.resetlocale() function #104784
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
Conversation
cc @methane |
I am a bit afraid to remove the API since many projects are still using it. |
Using
EDIT: I ignored pylint since I don't think that it's affected. |
Using Affected projects (34):
Code:
|
If we decide to keep these functions, I suggest at least to update their deprecation documentation. |
I agree that
Of course. |
Ok, let's start with removing locale.resetlocale(). The locale.getdefaultlocale() function can stay a little bit longer thanks to @methane :-) |
📚 Documentation preview 📚: https://cpython-previews--104784.org.readthedocs.build/