Skip to content

Commit 6a430c8

Browse files
committed
gh-148510: restore func_version check in _LOAD_ATTR_PROPERTY_FRAME
1 parent 9c7940c commit 6a430c8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,7 @@ dummy_func(void) {
995995

996996
op(_LOAD_ATTR_PROPERTY_FRAME, (func_version/2, fget/4, owner -- new_frame)) {
997997
if (sym_get_type_version(owner) == 0) {
998+
ctx->contradiction = true;
998999
ctx->done = true;
9991000
break;
10001001
}

Python/optimizer_cases.c.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)