]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45829: Check `__getitem__`'s version for overflow before specializing (GH-30129)
authorBrandt Bucher <brandt@python.org>
Thu, 16 Dec 2021 11:08:20 +0000 (03:08 -0800)
committerGitHub <noreply@github.com>
Thu, 16 Dec 2021 11:08:20 +0000 (11:08 +0000)
commit62a8a0c5223f750e22ee381d3cfbdb718cf1cc93
treefb2cca71b0482717cf220f02b43a369977bff9fb
parentc5d18a5014f649368b5a4bca94e9ec7d2908b481
bpo-45829: Check `__getitem__`'s version for overflow before specializing (GH-30129)

* Check __getitem__'s version for overflow.

* Use SPEC_FAIL_OUT_OF_VERSIONS instead
Python/specialize.c