summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-17 23:22:29 (GMT)
committerGitHub <noreply@github.com>2018-09-17 23:22:29 (GMT)
commit7a0791b6992d420dc52536257f2f093851ed7215 (patch)
treed41edd6bc79c92232213480fc853dd86530780bf /Misc
parent1fa2ec49bec50bea1847b558b883c5c904334734 (diff)
downloadcpython-7a0791b6992d420dc52536257f2f093851ed7215.zip
cpython-7a0791b6992d420dc52536257f2f093851ed7215.tar.gz
cpython-7a0791b6992d420dc52536257f2f093851ed7215.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2018-09-18-00-09-31.bpo-34589.C7bUpq.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2018-09-18-00-09-31.bpo-34589.C7bUpq.rst b/Misc/NEWS.d/next/C API/2018-09-18-00-09-31.bpo-34589.C7bUpq.rst
new file mode 100644
index 0000000..27b6a6e
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2018-09-18-00-09-31.bpo-34589.C7bUpq.rst
@@ -0,0 +1,3 @@
+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).