Skip to content

[3.8] bpo-38643: Raise SystemError instead of crashing when PyNumber_ToBase is called with invalid base. (GH-18863).#18954

Merged
serhiy-storchaka merged 1 commit intopython:3.8from
serhiy-storchaka:backport-e5ccc94-3.8
Mar 12, 2020
Merged

[3.8] bpo-38643: Raise SystemError instead of crashing when PyNumber_ToBase is called with invalid base. (GH-18863).#18954
serhiy-storchaka merged 1 commit intopython:3.8from
serhiy-storchaka:backport-e5ccc94-3.8

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Mar 12, 2020

…ToBase is called with invalid base. (pythonGH-18863).

(cherry picked from commit e5ccc94)

Co-authored-by: Serhiy Storchaka <[email protected]>
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the backport-e5ccc94-3.8 branch March 12, 2020 07:31
@miss-islington
Copy link
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker ab9c72912178cfdb4d0637be036d78913b769154 3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants