summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-03 20:49:07 (GMT)
committerGitHub <noreply@github.com>2018-08-03 20:49:07 (GMT)
commit5a953fd0ab4d0f792f4c1537616b2ce8ee40d976 (patch)
treecad675955816179aa53030f5ba6ae7526e6caba5 /Python/pylifecycle.c
parent7b41dbad78c6b03ca2f98800a92a1977d3946643 (diff)
downloadcpython-5a953fd0ab4d0f792f4c1537616b2ce8ee40d976.zip
cpython-5a953fd0ab4d0f792f4c1537616b2ce8ee40d976.tar.gz
cpython-5a953fd0ab4d0f792f4c1537616b2ce8ee40d976.tar.bz2
bpo-34170: _PyCoreConfig_Read() don't replace coerce_c_locale (GH-8658)
If coerce_c_locale is already set (>= 0), use its value: don't override it.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index c2ee4ff..28704c1 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -805,7 +805,6 @@ _Py_InitializeCore(PyInterpreterState **interp_p,
{
assert(src_config != NULL);
-
PyMemAllocatorEx old_alloc;
_PyInitError err;