summaryrefslogtreecommitdiff
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
authorMarc Hartmayer <marc1006@users.noreply.github.com>2019-09-24 05:34:12 +0200
committerBenjamin Peterson <benjamin@python.org>2019-09-23 20:34:12 -0700
commit6f53d34fb0f944a8c0ee530334c353559ac40f72 (patch)
tree74da640e98f1d8b534e138e349e07863467cc356 /Lib/unittest/mock.py
parent4346bad3321699d49a45e3446270b57726ab5c8f (diff)
downloadcpython-git-6f53d34fb0f944a8c0ee530334c353559ac40f72.tar.gz
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.
Diffstat (limited to 'Lib/unittest/mock.py')
0 files changed, 0 insertions, 0 deletions