Skip to content

[3.7] closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380) #11401

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
Jan 2, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 2, 2019

There is already a Py_ssize_t i defined at function scope that is used
for similar loops. By removing the local int i declaration that i is
used, which has the appropriate type.
(cherry picked from commit f8b5344)

Co-authored-by: sth [email protected]

https://bugs.python.org/issue35623

…onGH-11380)

There is already a `Py_ssize_t i` defined at function scope that is used
for similar loops. By removing the local `int i` declaration that `i` is
used, which has the appropriate type.
(cherry picked from commit f8b5344)

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

@sth and @benjaminp: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit a5955b0 into python:3.7 Jan 2, 2019
@miss-islington miss-islington deleted the backport-f8b5344-3.7 branch January 2, 2019 02:25
@miss-islington
Copy link
Contributor Author

@sth and @benjaminp: Status check is done, and it's a success ✅ .

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.

5 participants