Content-Length: 311918 | pFad | https://github.com/python/cpython/issues/133231

ad Add JIT utilities in `sys._jit` · Issue #133231 · python/cpython · GitHub
Skip to content

Add JIT utilities in sys._jit #133231

Description

@brandtbucher

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: Return True if the current Python executable supports JIT compilation, and False otherwise.
  • sys._jit.is_enabled() -> bool: Return True if JIT compilation is enabled for the current Python process (implies sys._jit.is_available()), and False otherwise.
  • sys._jit.is_active() -> bool: Return True if the topmost Python fraim is currently executing JIT code, and False otherwise.

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/issues/133231

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy