You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT (correctness): Different UnboundLocalError for same code with JIT on or off #140104
It's possible #139109 might end up fixing this inadvertently, so let's not fix this for now maybe? Or we could fix it with the knowledge the code will be ripped out soon.
Activity
Fidget-Spinner commentedon Oct 14, 2025
It's possible #139109 might end up fixing this inadvertently, so let's not fix this for now maybe? Or we could fix it with the knowledge the code will be ripped out soon.
devdanzin commentedon Oct 15, 2025
Here's a simpler reproducer for what seems to be the same issue:
This one runs to completion without the JIT and raises an exception with it.
gh-140104: Set next_instr properly in the JIT during exceptions (GH-1…
efimov-mikhail commentedon Oct 27, 2025
We need a backport for 3.14, don't we?
Or we ignore backports since JIT is in expiremental stage?
Fidget-Spinner commentedon Oct 27, 2025
Let's backport to 3.14 but not 3.13.
Fidget-Spinner commentedon Oct 27, 2025
Backport failed, maybe I should open up the backport to anyone who wants to try please?
efimov-mikhail commentedon Oct 27, 2025
I'd like to provide this backport.
pythongh-140104: Set next_instr properly in the JIT during exceptions (…
[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (
Fidget-Spinner commentedon Nov 1, 2025
This is still broken on 3.14 sadly.
Revert "[3.14] pythongh-140104: Set next_instr properly in the JIT du…
efimov-mikhail commentedon Nov 1, 2025
I'm sorry. It seems that I've tested incorrectly.
It's actually still broken on 3.14.
Fidget-Spinner commentedon Nov 1, 2025
No worries. I didn't realize CI didn't trigger for JIT on the backport either!
[3.14] gh-140104: Revert "Set next_instr properly in the JIT during e…
[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (
pythongh-140104: Set next_instr properly in the JIT during exceptions (…