We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce06d1 commit 0ebcf8cCopy full SHA for 0ebcf8c
1 file changed
Lib/test/test_capi/test_opt.py
@@ -5127,6 +5127,16 @@ def f():
5127
f" {executor} at offset {idx} rather"
5128
f" than expected _EXIT_TRACE")
5129
5130
+ def test_jit_shutdown_after_cold_executor_creation(self):
5131
+ script_helper.assert_python_ok("-c", textwrap.dedent(f"""
5132
+ def f():
5133
+ for x in range({TIER2_THRESHOLD + 3}):
5134
+ for y in range({TIER2_THRESHOLD + 3}):
5135
+ z = x + y
5136
+
5137
+ f()
5138
+ """), PYTHON_JIT="1")
5139
5140
def test_enter_executor_valid_op_arg(self):
5141
script_helper.assert_python_ok("-c", textwrap.dedent("""
5142
import sys
0 commit comments