Staging
v0.5.1
https://github.com/python/cpython
Revision e5fde1f992e94f166415ab96d874ed1d2e0c8004 authored by Miss Islington (bot) on 22 September 2018, 01:29:34 UTC, committed by GitHub on 22 September 2018, 01:29:34 UTC

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>
1 parent e45662c
History
Tip revision: e5fde1f992e94f166415ab96d874ed1d2e0c8004 authored by Miss Islington (bot) on 22 September 2018, 01:29:34 UTC
bpo-34537: Fix test_gdb:test_strings with LC_ALL=C (GH-9483)
Tip revision: e5fde1f
File Mode Size
.github
.vsts
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.0 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 61.1 KB
README.rst -rw-r--r-- 10.4 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 483.4 KB
configure.ac -rw-r--r-- 161.5 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.1 KB
setup.py -rw-r--r-- 99.5 KB

README.rst

back to top