Skip to content

bpo-38156: Fix compiler warning in PyOS_StdioReadline() #21721

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

Merged
merged 1 commit into from
Aug 4, 2020
Merged

bpo-38156: Fix compiler warning in PyOS_StdioReadline() #21721

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
@vstinner vstinner deleted the fix_readline_warn branch August 4, 2020 00:38
@vstinner vstinner added the needs backport to 3.9 only security fixes label Aug 4, 2020
@miss-islington
Copy link
Contributor

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 pull request 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

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

@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

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 pull request 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 pull request 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 pull request 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 pull request Aug 4, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 20, 2020
incr cannot be larger than INT_MAX: downcast to int explicitly.
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 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.

4 participants