FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233) by efimov-mikhail · Pull Request #141495 · python/cpython · GitHub

/ cpython Public

[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233) - #141495

Merged
Fidget-Spinner merged 6 commits into
python:3.14from
efimov-mikhail:Fidget-Spinner-this_instr_exception-3.14-2
Nov 13, 2025
Merged

[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233)#141495
Fidget-Spinner merged 6 commits into
python:3.14from
efimov-mikhail:Fidget-Spinner-this_instr_exception-3.14-2

Conversation

efimov-mikhail commented Nov 13, 2025
edited
Loading

Copy link
Copy Markdown
Member

It's an another attempt to backport GH-140233.
The first one was buggy and we reverted it.

CC @Fidget-Spinner.

I'm not sure that this fix is fully correct.
But it passes all the tests on my machine (Debian 12, x86_64) in both build configurations:

./configure --enable-experimental-jit=yes --with-pydebug
./configure --enable-experimental-jit=interpreter --with-pydebug

Comment thread Python/ceval_macros.h
Comment thread Python/ceval_macros.h
python deleted a comment from Fidget-Spinner Nov 13, 2025

Copy link
Copy Markdown
Member

Could you pleas trigger the JIT CI by pushing whitespace to a jit file? We can revert that after I see it's green.

Copy link
Copy Markdown
Member Author

Could you pleas trigger the JIT CI by pushing whitespace to a jit file? We can revert that after I see it's green.

Sure! I hope that I understand correctly what file do you mean (Tools/jit/template.c).

Copy link
Copy Markdown
Member

Very cool. It's green! Ok, please revert the jit file change and I'll merge it.

Copy link
Copy Markdown
Member

Thanks again.

Fidget-Spinner merged commit af20b88 into python:3.14 Nov 13, 2025
57 checks passed

Copy link
Copy Markdown
Member Author

Thank you for review and merge!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL