https://github.com/python/cpython/commit/2f2ddabd1a02e3095b751100b94b529e4e0bcd20 commit: 2f2ddabd1a02e3095b751100b94b529e4e0bcd20 branch: main author: Guido van Rossum <gu...@python.org> committer: markshannon <m...@hotpy.org> date: 2024-01-22T11:56:28Z summary:
gh-113102: Fix typo in INSTRUMENTED_RESUME (GH-114349) files: M Python/bytecodes.c M Python/generated_cases.c.h diff --git a/Python/bytecodes.c b/Python/bytecodes.c index c48f0a17c60fb1..7674ff81f64cec 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -192,7 +192,7 @@ dummy_func( ERROR_IF(err, error); if (frame->instr_ptr != this_instr) { /* Instrumentation has jumped */ - next_instr = this_instr; + next_instr = frame->instr_ptr; DISPATCH(); } } diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 68468728d44bf8..c4bb3aeec5e224 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -3156,7 +3156,7 @@ if (err) goto error; if (frame->instr_ptr != this_instr) { /* Instrumentation has jumped */ - next_instr = this_instr; + next_instr = frame->instr_ptr; DISPATCH(); } } _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com