summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-03 12:38:21 (GMT)
committerGitHub <noreply@github.com>2018-09-03 12:38:21 (GMT)
commitf01b2a1b84ee08df73a78cf1017eecf15e3cb995 (patch)
tree9079820452b662ca8b9c95879459063be0e02449 /Python/pylifecycle.c
parentf3267144269b873bcb87a9fcafe94b37be1bcfdc (diff)
downloadcpython-f01b2a1b84ee08df73a78cf1017eecf15e3cb995.zip
cpython-f01b2a1b84ee08df73a78cf1017eecf15e3cb995.tar.gz
cpython-f01b2a1b84ee08df73a78cf1017eecf15e3cb995.tar.bz2
bpo-34544: Fix setlocale() in pymain_read_conf() (GH-9041)
bpo-34485, bpo-34544: On some FreeBSD, nl_langinfo(CODESET) fails if LC_ALL or LC_CTYPE is set to an invalid locale name. Replace _Py_SetLocaleFromEnv(LC_CTYPE) with _Py_SetLocaleFromEnv(LC_ALL) to initialize properly locales. Partially revert commit 177d921c8c03d30daa32994362023f777624b10d.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions