]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 Jun 2020 13:40:47 +0000 (06:40 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 13:40:47 +0000 (06:40 -0700)
commitc6e24e7420a03a1751004e255a6f6c14265b9ea1
tree25ae44795f2007850d3a9913d551083413799168
parent56d25add07093701c4827ea3a46b7025d9030f3c
bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071)

Fix integer overflow in the :meth:`array.array.index` method on 64-bit Windows
for index larger than ``2**31``.
(cherry picked from commit 1d3dad5f96ed445b958ec53dfa0d46812f2162d9)

Co-authored-by: WildCard65 <WildCard65@users.noreply.github.com>
Misc/NEWS.d/next/Tests/2020-06-23-12-02-45.bpo-41085.JZKsyz.rst [new file with mode: 0644]
Modules/arraymodule.c