diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-24 03:52:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 03:52:50 (GMT) |
commit | 5b94eb8d14f5a5b20dc2a999d6ca6219214b458c (patch) | |
tree | 2a4a6b55d1c166cc6d17ee121f6548579d7b8a52 /Python/Python-ast.c | |
parent | a7c73a0094c336e5f10d9364f244be70683409ff (diff) | |
download | cpython-5b94eb8d14f5a5b20dc2a999d6ca6219214b458c.zip cpython-5b94eb8d14f5a5b20dc2a999d6ca6219214b458c.tar.gz cpython-5b94eb8d14f5a5b20dc2a999d6ca6219214b458c.tar.bz2 |
closes bpo-16637: libpython: construct integer object directly from gdbvalue (GH-15232)
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>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions