SIGN IN SIGN UP

bpo-42208: Add _Py_GetLocaleEncoding() (GH-23050)

_io.TextIOWrapper no longer calls getpreferredencoding(False) of
_bootlocale to get the locale encoding, but calls
_Py_GetLocaleEncoding() instead.

Add config_get_fs_encoding() sub-function. Reorganize also
config_get_locale_encoding() code.
V
Victor Stinner committed
710e82630775774dceba5e8f24b1b10e6dfaf9b7
Parent: 06f8c33
Committed by GitHub <noreply@github.com> on 10/31/2020, 12:02:09 AM