Staging
v0.8.1
https://github.com/python/cpython
Revision 82458b6cdbae3b849dc11d0d7dc2ab06ef0451c4 authored by Victor Stinner on 01 November 2020, 19:59:35 UTC, committed by GitHub on 01 November 2020, 19:59:35 UTC
* Rename _Py_GetLocaleEncoding() to _Py_GetLocaleEncodingObject()
* Add _Py_GetLocaleEncoding() which returns a wchar_t* string to
  share code between _Py_GetLocaleEncodingObject()
  and config_get_locale_encoding().
* _Py_GetLocaleEncodingObject() now decodes nl_langinfo(CODESET)
  from the current locale encoding with surrogateescape,
  rather than using UTF-8.
1 parent 1f7dfb2
History
Tip revision: 82458b6cdbae3b849dc11d0d7dc2ab06ef0451c4 authored by Victor Stinner on 01 November 2020, 19:59:35 UTC
bpo-42236: Enhance _locale._get_locale_encoding() (GH-23083)
Tip revision: 82458b6
File Mode Size
Tokens -rw-r--r-- 1.5 KB
python.gram -rw-r--r-- 33.0 KB

back to top