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.
E
Elvis Pranskevichus committed
7279b5125e7c5d84a473d250b27d353cb7f6628e
Parent: d64ee1a
Committed by Victor Stinner <vstinner@redhat.com>
on 9/22/2018, 1:13:16 AM