]> 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:41:24 +0000 (06:41 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 13:41:24 +0000 (06:41 -0700)
commit92f8b480bab408be09bc1631cf2e0e5a4641b731
tree66a17495e9b3569dd412955094e367048027caa5
parentcd696201ff24e6fdd53c413acf4485e09835b89f
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