]> granicus.if.org Git - python/commit
bpo-36142: _PyPreConfig_Read() sets LC_CTYPE (GH-12188)
authorVictor Stinner <vstinner@redhat.com>
Wed, 6 Mar 2019 00:44:31 +0000 (01:44 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2019 00:44:31 +0000 (01:44 +0100)
commit4fffd380a4070aff39b7fd443d90e60746c1b623
tree2128ef8300deb023c117151905b1a822157761d9
parentc656e25667c9acc0d13e5bb16d3df2938d0f614b
bpo-36142: _PyPreConfig_Read() sets LC_CTYPE (GH-12188)

* _PyPreConfig_Read() now sets temporarily LC_CTYPE to the user
  preferred locale, as _PyPreConfig_Write() will do permanentely.
* Fix _PyCoreConfig_Clear(): clear run_xxx attributes
* _Py_SetArgcArgv() doesn't have to be exported
* _PyCoreConfig_SetGlobalConfig() no longer applies preconfig
Include/internal/pycore_coreconfig.h
Python/coreconfig.c
Python/preconfig.c
Python/pylifecycle.c