Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-16637: libpython: interpret string as integer literal #15232

Open
wants to merge 1 commit into
base: master
from

Conversation

@marc1006
Copy link

commented Aug 12, 2019

This fixes the exception ValueError: invalid literal for int() with base 10
if str(gdbval) returns a hexadecimal value (e.g. '0xa0').

See https://docs.python.org/3/library/functions.html#int for more information.

https://bugs.python.org/issue16637

libpython: interpret string as integer literal
This fixes the exception '`ValueError: invalid literal for int() with base 10`
if `str(gdbval)` returns a hexadecimal value (e.g. '0xa0').

See https://docs.python.org/3/library/functions.html#int for more information.
@the-knights-who-say-ni

This comment has been minimized.

Copy link

commented Aug 12, 2019

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.