◐ Shell
clean mode source ↗

bpo-34485: Fix pymain_read_conf() LC_ALL locale by vstinner · Pull Request #9041 · python/cpython

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 177d921.