mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
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
|
||
|---|---|---|
| .. | ||
| libpython.py | ||