]> granicus.if.org Git - python/commit
bpo-36945: Add _PyPreConfig.configure_locale (GH-13368)
authorVictor Stinner <vstinner@redhat.com>
Fri, 17 May 2019 20:44:16 +0000 (22:44 +0200)
committerGitHub <noreply@github.com>
Fri, 17 May 2019 20:44:16 +0000 (22:44 +0200)
commitbcfbbd704646622e919c1306a91fba61d603483d
tree51238f56ba837c49330424bd995b2de71b5a5a48
parent98ff4d5fb6a9d01b0176b7786db61346952e5295
bpo-36945: Add _PyPreConfig.configure_locale (GH-13368)

_PyPreConfig_InitIsolatedConfig() sets configure_locale to 0 to
prevent Python to modify the LC_CTYPE locale. In that case,
coerce_c_locale an coerce_c_locale_warn are set to 0 as well.
Include/cpython/coreconfig.h
Lib/test/test_embed.py
Programs/_testembed.c
Python/preconfig.c