commit | b62bdf71ea0cd52041d49691d8ae3dc645bd48e1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Sat Oct 31 01:32:11 2020 +0100 |
committer | GitHub <noreply@github.com> | Sat Oct 31 01:32:11 2020 +0100 |
tree | 376fe1864673d8de21c8621629765cd1a28cdb1b | |
parent | 710e82630775774dceba5e8f24b1b10e6dfaf9b7 [diff] |
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.