>>> for warmup inrange(BIG_NUMBER):
... # This line is "hot", and is eventually JIT-compiled:
... if sys._jit.is_active():
... # This line is "cold", and is run in the interpreter:
... assert sys._jit.is_active()
...
Traceback (most recent call last):
File "<stdin>", line 5, in <module>
assert sys._jit.is_active()
~~~~~~~~~~~~~~~~~~^^
AssertionError