]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34589: C locale coercion off by default (GH-9073)
authorVictor Stinner <vstinner@redhat.com>
Mon, 17 Sep 2018 23:22:29 +0000 (16:22 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Sep 2018 23:22:29 +0000 (16:22 -0700)
commit7a0791b6992d420dc52536257f2f093851ed7215
treed41edd6bc79c92232213480fc853dd86530780bf
parent1fa2ec49bec50bea1847b558b883c5c904334734
bpo-34589: C locale coercion off by default (GH-9073)

Py_Initialize() and Py_Main() cannot enable the C locale coercion
(PEP 538) anymore: it is always disabled. It can now only be enabled
by the Python program ("python3).

test_embed: get_filesystem_encoding() doesn't have to set PYTHONUTF8
nor PYTHONCOERCECLOCALE, these variables are already set in the
parent.
Include/coreconfig.h
Include/pylifecycle.h
Lib/test/test_embed.py
Misc/NEWS.d/next/C API/2018-09-18-00-09-31.bpo-34589.C7bUpq.rst [new file with mode: 0644]
Modules/main.c
Programs/_testembed.c
Programs/python.c
Python/coreconfig.c