8000 [3.11] GH-94739: Backport GH-94958 to 311 by markshannon · Pull Request #94965 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.11] GH-94739: Backport GH-94958 to 311 #94965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix stack effect of CALL to account for 3.11 PRECALL.
  • Loading branch information
markshannon committed Jul 18, 2022
commit 9ae999283eb06c21efb417ca4d81beff62f70335
5 changes: 1 addition & 4 deletions Objects/frameobject.c
62C3
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,7 @@ mark_stacks(PyCodeObject *code_obj, int len)
break;
case CALL:
{
int args = get_arg(code, i);
for (int j = 0; j < args+2; j++) {
next_stack = pop_value(next_stack);
}
next_stack = pop_value(pop_value(next_stack));
next_stack = push_value(next_stack, Object);
stacks[i+1] = next_stack;
break;
Expand Down
0