commit | 8ea09110d413829f71d979d8c7073008cb87fb03 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Mon Sep 03 17:05:18 2018 +0200 |
committer | GitHub <noreply@github.com> | Mon Sep 03 17:05:18 2018 +0200 |
tree | bf2072da77a058acc78fa508843bee7b988aba37 | |
parent | f01b2a1b84ee08df73a78cf1017eecf15e3cb995 [diff] |
_Py_CoerceLegacyLocale() restores LC_CTYPE on fail (GH-9044) bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale, restore the LC_CTYPE locale to the its previous value.