This code snippet crashes when the JIT is enabled:
for_inrange(4096):
2**65
I believe this is caused by GH-132733. Specifically, the abstract interpreter generator "thinks" that the operation itself can escape, and spills res to the stack before it has been defined:
Activity
gh-136183: Deal with escapes in JIT optimizer's constant evaluator (G…
pythongh-136183: Deal with escapes in JIT optimizer's constant evalua…
pythongh-136183: Deal with escapes in JIT optimizer's constant evalua…
pythongh-136183: Deal with escapes in JIT optimizer's constant evalua…
pythongh-136183: Deal with escapes in JIT optimizer's constant evalua…
pythongh-136183: Deal with escapes in JIT optimizer's constant evalua…