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-38156: Fix compiler warning in PyOS_StdioReadline() #21721

Merged
merged 1 commit into from Aug 4, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 4, 2020

incr cannot be larger than INT_MAX: downcast to int explicitly.

https://bugs.python.org/issue38156

incr cannot be larger than INT_MAX: downcast to int explicitly.
@vstinner vstinner merged commit bde48fd into python:master Aug 4, 2020
9 checks passed
@vstinner vstinner deleted the fix_readline_warn branch Aug 4, 2020
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 4, 2020

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
(cherry picked from commit bde48fd)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Aug 4, 2020

GH-21723 is a backport of this pull request to the 3.9 branch.

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 4, 2020

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Aug 4, 2020

GH-21725 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
(cherry picked from commit bde48fd)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington added a commit that referenced this issue Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
(cherry picked from commit bde48fd)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington added a commit that referenced this issue Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
(cherry picked from commit bde48fd)

Co-authored-by: Victor Stinner <vstinner@python.org>
shihai1991 pushed a commit to shihai1991/cpython that referenced this issue Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
nmaynes pushed a commit to nmaynes/cpython that referenced this issue Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
shihai1991 pushed a commit to shihai1991/cpython that referenced this issue Aug 20, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
xzy3 pushed a commit to xzy3/cpython that referenced this issue Oct 18, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
chrisburr pushed a commit to chrisburr/cpython that referenced this issue Dec 9, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants