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

bpo-42208: Add _locale._get_locale_encoding() #23052

Merged
merged 1 commit into from Oct 31, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 31, 2020

  • Add a new _locale._get_locale_encoding() function to get the
    current locale encoding.
  • Modify locale.getpreferredencoding() to use it.
  • Remove the _bootlocale module.

https://bugs.python.org/issue42208

* Add a new _locale._get_locale_encoding() function to get the
  current locale encoding.
* Modify locale.getpreferredencoding() to use it.
* Remove the _bootlocale module.
@vstinner vstinner requested review from a team as code owners Oct 31, 2020
@vstinner vstinner merged commit b62bdf7 into python:master Oct 31, 2020
3 checks passed
@vstinner vstinner deleted the bootlocale branch Oct 31, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
* Add a new _locale._get_locale_encoding() function to get the
  current locale encoding.
* Modify locale.getpreferredencoding() to use it.
* Remove the _bootlocale module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants