]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a bug in not setting executors
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Wed, 5 Nov 2025 10:58:04 +0000 (10:58 +0000)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Wed, 5 Nov 2025 10:58:04 +0000 (10:58 +0000)
Python/jit.c

index c3f3d686013fe4a3240ae33796dcec2c0567d29b..4c412958cb764db97482566ec2fe075fac8e80e5 100644 (file)
@@ -645,6 +645,7 @@ _Py_LazyJitTrampoline(
         }
         _Py_jit_entry = trampoline;
     }
+    tstate->current_executor = (PyObject *)executor;
     PyMutex_Unlock(&lazy_jit_mutex);
     return _Py_jit_entry(executor, frame, stack_pointer, tstate);
 }