◐ Shell
clean mode source ↗

[3.14] gh-140104: Revert "Set next_instr properly in the JIT during exceptions (GH-140233) (GH-140687)" by Fidget-Spinner · Pull Request #140890 · python/cpython

@Fidget-Spinner Fidget-Spinner changed the title gh-140104: Revert 2e21672 [3.14] gh-140104: Revert 2e21672

Nov 1, 2025

@efimov-mikhail

Sorry, I don't fully understand, which CI was red?

For me on 3.14 all work as expected.
But, of course, I can miss something due to very little experience with JIT.

@efimov-mikhail

efimov-mikhail

@efimov-mikhail

Yes, there's a problem with one JIT test on current 3.14 branch, test.test_capi.test_opt.TestUopsOptimization.test_next_ instr_for_exception_handler_set.

And there's no such problem on main.

iOS problem is unrelated.
We can merge this and further investigate what should be done for 3.14 (if we want to, since JIT is experimental for now).

@picnixz picnixz changed the title [3.14] gh-140104: Revert 2e21672 [3.14] gh-140104: Revert "Set next_instr properly in the JIT during exceptions (GH-140233) (GH-140687)"

Nov 1, 2025