mirror of https://github.com/python/cpython
Issue #26920: Merge 3.6
This commit is contained in:
commit
afa94a5a3e
|
@ -10,6 +10,9 @@ What's New in Python 3.7.0 alpha 1
|
|||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
- Issue #26920: Fix not getting the locale's charset upon initializing the
|
||||
interpreter, on platforms that do not have langinfo.
|
||||
|
||||
- Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
|
||||
when decode astral characters. Patch by Xiang Zhang.
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@ _Py_InitializeEx_Private(int install_sigs, int install_importlib)
|
|||
initialized = 1;
|
||||
_Py_Finalizing = NULL;
|
||||
|
||||
#if defined(HAVE_LANGINFO_H) && defined(HAVE_SETLOCALE)
|
||||
#ifdef HAVE_SETLOCALE
|
||||
/* Set up the LC_CTYPE locale, so we can obtain
|
||||
the locale's charset without having to switch
|
||||
locales. */
|
||||
|
|
Loading…
Reference in New Issue