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

[3.10] bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) #28160

Merged
merged 1 commit into from Sep 4, 2021

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 4, 2021

It happened with fast range iterator when the calculated stop = start + step * len
was out of the C long range.
(cherry picked from commit 936f6a1)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue45030

…ythonGH-28000)

It happened with fast range iterator  when the calculated stop = start + step * len
was out of the C long range.
(cherry picked from commit 936f6a1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington miss-islington merged commit ed9f927 into python:3.10 Sep 4, 2021
13 checks passed
@miss-islington miss-islington deleted the backport-936f6a1-3.10 branch Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants