Skip to content
Merged
Show file tree
Hide file tree
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
Swap out __main__ instead of injecting into it.
  • Loading branch information
ericsnowcurrently committed Jun 16, 2025
commit 3cab1445d67ec467a629f886688a93b2165c2ac9
1 change: 1 addition & 0 deletions Modules/_interpretersmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ _make_call(struct interp_call *call,
unwrap_not_shareable(tstate, failure);
return -1;
}
assert(!_PyErr_Occurred(tstate));

// Make the call.
PyObject *resobj = PyObject_Call(func, args, kwargs);
Expand Down
Loading