-
-
Notifications
You must be signed in to change notification settings - Fork 32k
GH-133231: Add JIT utilities in sys._jit
#133233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
d67c2a7
ba56202
5a6f11f
5b27d20
080fd51
1b2e511
775eb32
1c4f440
db7609f
fc4824b
b80bdf8
cf3613c
c5104b8
5d85f4f
6e90006
614599c
f37bdf5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1281,6 +1281,14 @@ conflict. | |
|
||
.. versionadded:: 3.14 | ||
|
||
.. envvar:: PYTHON_JIT | ||
|
||
On builds where experimental just-in-time compilation is available, this | ||
variable can force the JIT to be disabled (``0``) or enabled (``1``) at | ||
interpreter startup. | ||
|
||
.. versionadded:: 3.13 | ||
Comment on lines
+1282
to
+1288
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should backport this, should it be split out into a different PR for ease? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can just backport it separately, since I need the ref for this PR's changes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it worth using miss-islington for the backport here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll just do it manually in a bit. |
||
|
||
Debug-mode variables | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Add new utilities of observing JIT compilation: | ||
:func:`sys._jit.is_available`, :func:`sys._jit.is_enabled`, and | ||
:func:`sys._jit.is_active`. |
Uh oh!
There was an error while loading. Please reload this page.