Closed
Description
Feature or enhancement
...as discussed in https://discuss.python.org/t/an-api-for-controlling-and-introspecting-the-jit/73356. This will include (for 3.14):
sys._jit.is_available() -> bool
: ReturnTrue
if the current Python executable supports JIT compilation, andFalse
otherwise.sys._jit.is_enabled() -> bool
: ReturnTrue
if JIT compilation is enabled for the current Python process (impliessys._jit.is_available()
), andFalse
otherwise.sys._jit.is_active() -> bool
: ReturnTrue
if the topmost Python frame is currently executing JIT code, andFalse
otherwise.
Linked PRs
Metadata
Metadata
Assignees
Labels
(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)A feature request or enhancementA feature request or enhancement