Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add JIT utilities insys._jit #133231

Closed
Closed
Assignees
brandtbucher
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancement
@brandtbucher

Description

@brandtbucher

Feature or enhancement

...as discussed inhttps://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

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


    [8]ページ先頭

    ©2009-2025 Movatter.jp