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
README -rw-r--r-- 67 bytes
_freeze_importlib.c -rw-r--r-- 4.8 KB
_testembed.c -rw-r--r-- 40.8 KB
python.c -rw-r--r-- 298 bytes

README

back to top