Title: Add JIT utilities in `sys._jit` · Issue #133231 · python/cpython · GitHub
Open Graph Title: Add JIT utilities in `sys._jit` · Issue #133231 · python/cpython
X Title: Add JIT utilities in `sys._jit` · Issue #133231 · python/cpython
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: Return True if the current Python executable su...
Open Graph 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: Return ...
X 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: Retu...
Opengraph URL: https://github.com/python/cpython/issues/133231
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add JIT utilities in `sys._jit`","articleBody":"# Feature or enhancement\n\n...as discussed in https://discuss.python.org/t/an-api-for-controlling-and-introspecting-the-jit/73356. This will include (for 3.14):\n\n- `sys._jit.is_available() -\u003e bool`: Return `True` if the current Python executable supports JIT compilation, and `False` otherwise.\n- `sys._jit.is_enabled() -\u003e bool`: Return `True` if JIT compilation is enabled for the current Python process (implies `sys._jit.is_available()`), and `False` otherwise.\n- `sys._jit.is_active() -\u003e bool`: Return `True` if the topmost Python frame is currently executing JIT code, and `False` otherwise.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133233\n* gh-133287\n* gh-133539\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/brandtbucher","@type":"Person","name":"brandtbucher"},"datePublished":"2025-05-01T02:05:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/133231/cpython/issues/133231"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4f9a42b-3c67-f199-272e-877c2108bbd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF72:FC316:1F9A3E2:29BE048:696B0444 |
| html-safe-nonce | 97a9440006c073612e37ad12198f9e78508541656fbf63530ae72863e03653be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjcyOkZDMzE2OjFGOUEzRTI6MjlCRTA0ODo2OTZCMDQ0NCIsInZpc2l0b3JfaWQiOiI2MTUyMTUxMDg2ODY5OTcyMDM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fbfaf58a9af89e6629fece933fa4182a98c7cf464cd9e390c749e421c1eab3f2 |
| hovercard-subject-tag | issue:3032998233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/133231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/baf7f1e8eef2b8432056ef6d7c3fdf49b2ff8869936227efb316476f26cfa27b/python/cpython/issues/133231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/baf7f1e8eef2b8432056ef6d7c3fdf49b2ff8869936227efb316476f26cfa27b/python/cpython/issues/133231 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brandtbucher |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width