Skip to content

Commit 5afac8d

Browse files
committed
gh-161676: Fix perf trampoline offset signedness and news path
1 parent 713a98d commit 5afac8d

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Misc/NEWS.d/next/Core and Builtins/2026-11-09-15-04-09.gh-issue-161676.DqA7zW.rst renamed to Misc/NEWS.d/next/Core_and_Builtins/2026-11-09-15-04-09.gh-issue-161676.DqA7zW.rst

File renamed without changes.

‎Python/ceval.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ eval_frame_with_hook(PyThreadState *tstate, _PyInterpreterFrame *caller,
383383
assert(tstate->current_frame == caller);
384384
_PyFrame_StackPush(caller, PyStackRef_FromPyObjectSteal(result));
385385
assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
386-
return yielded ? 1 + INLINE_CACHE_ENTRIES_SEND : return_offset;
386+
return yielded ? 1 + (int)INLINE_CACHE_ENTRIES_SEND : return_offset;
387387
}
388388

389389
static int

0 commit comments

Comments
 (0)