GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add JIT utilities in `sys._jit` · Issue #133231 · python/cpython

Add JIT utilities in sys._jit #133231

New issue
Copy link
New issue
Copy link
Closed
Closed
Add JIT utilities in sys._jit#133231
Copy link
Assignees
brandtbucher
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancementA feature request or enhancement

Description

@brandtbucher
brandtbucher
opened on May 1, 2025
Issue body actions

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 frame is currently executing JIT code, and False otherwise.

Linked PRs

  • GH-133231: Add JIT utilities in sys._jit #133233
  • GH-133231: Changes to executor management to support proposed sys._jit module #133287
  • [3.13] GH-133231: Backport PYTHON_JIT documentation to 3.13 #133539

Activity

  1. brandtbucher
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    topic-JIT
    type-featureA feature request or enhancementA feature request or enhancement
    on May 1, 2025
  2. brandtbucher
    self-assigned this
    on May 1, 2025
  3. markshannon
    added a commit that references this issue on May 4, 2025

    GH-133231: Changes to executor management to support proposed `sys._j…

    ac7d5ba
  4. diegorusso
    added a commit that references this issue on May 4, 2025

    Merge remote-tracking branch 'origin/main' into call-len

    c03babc
  5. brandtbucher
    added a commit that references this issue on May 5, 2025

    GH-133231: Add JIT utilities in sys._jit (GH-133233)

    b1aa515
  6. brandtbucher
    closed this as completedon May 6, 2025
  7. brandtbucher
    added a commit that references this issue on May 6, 2025

    [3.13] GH-133231: Backport PYTHON_JIT documentation to 3.13 (GH-133539)

    3f93295
  8. Pranjal095
    added 2 commits that reference this issue on Jul 12, 2025

    pythonGH-133231: Changes to executor management to support proposed `…

    33499e6

    pythonGH-133231: Add JIT utilities in sys._jit (pythonGH-133233)

    aeb8e07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @brandtbucher
    brandtbucher

Labels

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.