]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42208: Add _locale._get_locale_encoding() (GH-23052)
authorVictor Stinner <vstinner@python.org>
Sat, 31 Oct 2020 00:32:11 +0000 (01:32 +0100)
committerGitHub <noreply@github.com>
Sat, 31 Oct 2020 00:32:11 +0000 (01:32 +0100)
commitb62bdf71ea0cd52041d49691d8ae3dc645bd48e1
tree376fe1864673d8de21c8621629765cd1a28cdb1b
parent710e82630775774dceba5e8f24b1b10e6dfaf9b7
bpo-42208: Add _locale._get_locale_encoding() (GH-23052)

* Add a new _locale._get_locale_encoding() function to get the
  current locale encoding.
* Modify locale.getpreferredencoding() to use it.
* Remove the _bootlocale module.
Lib/_bootlocale.py [deleted file]
Lib/locale.py
Lib/test/test_mimetypes.py
Modules/_localemodule.c
Modules/clinic/_localemodule.c.h
PCbuild/lib.pyproj