bpo-41085: Fixed 'array.array.index' downcasting 'Py_ssize_t' to 'long'.#21071
bpo-41085: Fixed 'array.array.index' downcasting 'Py_ssize_t' to 'long'.#21071vstinner merged 2 commits intopython:masterfrom
Conversation
vstinner
left a comment
There was a problem hiding this comment.
Please add a NEWS entry: either run blurb tool locally, or use https://blurb-it.herokuapp.com/ service.
I suggest to write a more high-level description for end users, like: "Fix integer overflow in the array.array.index() method on 64-bit Windows for index larger than 2**31." |
There was a problem hiding this comment.
(copy/paste of my comment :-))
I suggest to write a more high-level description for end users, like:
"Fix integer overflow in the array.array.index() method on 64-bit Windows for index larger than 2**31."
|
@vstinner There, I made the changes you requested. |
Misc/NEWS.d/next/Tests/2020-06-23-12-02-45.bpo-41085.JZKsyz.rst
Outdated
Show resolved
Hide resolved
|
This pull request may need backporting to older Python versions (Found the issue goes as far back as Python 2.7) |
|
Thanks @WildCard65 for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
Thanks @WildCard65 for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Fix integer overflow in the :meth:`array.array.index` method on 64-bit Windows for index larger than ``2**31``. (cherry picked from commit 1d3dad5) Co-authored-by: WildCard65 <WildCard65@users.noreply.github.com>
|
GH-21076 is a backport of this pull request to the 3.9 branch. |
Fix integer overflow in the :meth:`array.array.index` method on 64-bit Windows for index larger than ``2**31``. (cherry picked from commit 1d3dad5) Co-authored-by: WildCard65 <WildCard65@users.noreply.github.com>
|
GH-21077 is a backport of this pull request to the 3.8 branch. |
|
Thanks @WildCard65, I merged your PR!
Right. I created backports to 3.8 and 3.9 branches. I don't think that it's worth it to backport it to 3.7 which is very close to move to security-only. Python 2.7 is no longer maintained. |
Fix integer overflow in the :meth:`array.array.index` method on 64-bit Windows for index larger than ``2**31``.
Fix integer overflow in the array.array.index() method on 64-bit Windows for index larger than 2**31.
https://bugs.python.org/issue41085