diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-22 01:29:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-22 01:29:34 (GMT) |
commit | e5fde1f992e94f166415ab96d874ed1d2e0c8004 (patch) | |
tree | 7e74ff8ff468209a69972962fe0276c72a068885 /Lib/enum.py | |
parent | e45662c28bfc84aa3674463a2995e45da4d63793 (diff) | |
download | cpython-e5fde1f992e94f166415ab96d874ed1d2e0c8004.zip cpython-e5fde1f992e94f166415ab96d874ed1d2e0c8004.tar.gz cpython-e5fde1f992e94f166415ab96d874ed1d2e0c8004.tar.bz2 |
bpo-34537: Fix test_gdb:test_strings with LC_ALL=C (GH-9483)
We cannot simply call locale.getpreferredencoding() here,
as GDB might have been linked against a different version
of Python with a different encoding and coercion policy
with respect to PEP 538 and PEP 540.
Thanks to Victor Stinner for a hint on how to fix this.
(cherry picked from commit 7279b5125e7c5d84a473d250b27d353cb7f6628e)
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions