Staging
v0.5.1
https://github.com/python/cpython
Revision 5b94eb8d14f5a5b20dc2a999d6ca6219214b458c authored by Miss Islington (bot) on 24 September 2019, 03:52:50 UTC, committed by GitHub on 24 September 2019, 03:52:50 UTC

This fixes the exception '`ValueError: invalid literal for int() with base 10`
if `str(gdbval)` returns a hexadecimal value (e.g. '0xa0'). This is the case if
the output-radix is set to 16 in gdb. See
https://sourceware.org/gdb/onlinedocs/gdb/Numbers.html for more information.
(cherry picked from commit 6f53d34fb0f944a8c0ee530334c353559ac40f72)

Co-authored-by: Marc Hartmayer <marc1006@users.noreply.github.com>
1 parent a7c73a0
History
Tip revision: 5b94eb8d14f5a5b20dc2a999d6ca6219214b458c authored by Miss Islington (bot) on 24 September 2019, 03:52:50 UTC
closes bpo-16637: libpython: construct integer object directly from gdbvalue (GH-15232)
Tip revision: 5b94eb8
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.7 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 65.6 KB
README.rst -rw-r--r-- 9.8 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 491.6 KB
configure.ac -rw-r--r-- 162.2 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 44.1 KB
setup.py -rw-r--r-- 101.1 KB

README.rst

back to top