]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-125610: Fix `STORE_ATTR_INSTANCE_VALUE` specialization check (GH-125612...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Dec 2024 16:14:26 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2024 16:14:26 +0000 (16:14 +0000)
commit8d50e0320bdcf88ccfdd57a54fa581a57c04e95c
treec164a47729dbf84fee6866f53b673038741e6346
parent5d35d279a5150fd5ea4731c53fc3459cf22f1d16
[3.13] gh-125610: Fix `STORE_ATTR_INSTANCE_VALUE` specialization check (GH-125612) (GH-127698)

The `STORE_ATTR_INSTANCE_VALUE` opcode doesn't support objects with
non-NULL managed dictionaries, so don't specialize to that op in that case.
(cherry picked from commit a353455fca1b8f468ff3ffbb4b5e316510b4fd43)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Python/specialize.c