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.
This commit is contained in:
Victor Stinner 2018-08-03 22:49:07 +02:00 committed by GitHub
parent 7b41dbad78
commit 5a953fd0ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 17 deletions

View file

@ -805,7 +805,6 @@ _Py_InitializeCore(PyInterpreterState **interp_p,
{
assert(src_config != NULL);
PyMemAllocatorEx old_alloc;
_PyInitError err;