Skip to content
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

gh-90817: Deprecate explicitly locale.resetlocale() #93196

Merged
merged 1 commit into from May 25, 2022

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 25, 2022

The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.

The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
@vstinner vstinner merged commit bf58cd0 into python:main May 25, 2022
13 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented May 25, 2022

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

@vstinner vstinner deleted the deprecate_resetlocale branch May 25, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 25, 2022
…3196)

The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
(cherry picked from commit bf58cd0)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

bedevere-bot commented May 25, 2022

GH-93227 is a backport of this pull request to the 3.11 branch.

miss-islington added a commit that referenced this pull request May 25, 2022
The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
(cherry picked from commit bf58cd0)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants