Staging
v0.8.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
pgen
Python.asdl -rw-r--r-- 5.3 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 43.5 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.2 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.2 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 54.7 KB
tokenizer.h -rw-r--r-- 3.7 KB

back to top