◐ Shell
clean mode source ↗

bpo-34544: _Py_CoerceLegacyLocale() restores LC_CTYPE on fail by vstinner · Pull Request #9044 · python/cpython

Conversation

bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale,
restore the LC_CTYPE locale to the its previous value.

@vstinner vstinner changed the title _Py_CoerceLegacyLocale() restores LC_CTYPE on fail bpo-34544: _Py_CoerceLegacyLocale() restores LC_CTYPE on fail

Sep 3, 2018

@miss-islington

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington

Sorry, @vstinner, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 8ea09110d413829f71d979d8c7073008cb87fb03 3.7

@bedevere-bot

vstinner added a commit that referenced this pull request

Sep 3, 2018
bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale,
restore the LC_CTYPE locale to the its previous value.

(cherry picked from commit 8ea0911)

Labels