-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-126204: Add a sys._jit_enabled
helper
#126247
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βll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
43740f7
Add `Py_JIT_ENABLED` variable to `pyconfig.h`
Eclips4 65e6cfa
Changes for Windows build
Eclips4 718b21e
fix typo
Eclips4 f4f1748
Another changes for Windows build
Eclips4 20d51dc
Update _sysconfig.c
Eclips4 a3e6dda
Don't set Py_JIT_ENABLED to 1 if --enable-experimental-jit=no
Eclips4 40c001c
Fixes for Windows build..
Eclips4 81994a9
Set Py_JIT_ENABLED to 2 insetad of 'interpreter'
Eclips4 1618433
PyLong_FromInt -> PyLong_FromLong
Eclips4 1773d9e
Fix typo in pyconfigs
Eclips4 9a50db7
Add a NEWS entry
Eclips4 4b4e212
Update documentation
Eclips4 19ddff2
Fix typo
Eclips4 91b7a78
Move NEWS entry
Eclips4 e79e0df
Fix typo in path
Eclips4 759321b
Fix doc formatting
Eclips4 49e4fdc
Fix configure
Eclips4 169831e
Revert previous changes
Eclips4 c83ea49
Revert other part of previous changes
Eclips4 1dec18a
Merge branch 'main' into add-py-jit
Eclips4 02d1f60
Add ``sys._jit_enabled``
Eclips4 a9c5b41
Add a ``NEWS`` entry
Eclips4 5423c71
Fix typo
Eclips4 49336ab
Apply suggestions from code review
Eclips4 67123ee
Add documentation for sys._jit_enabled and what's new entry.
Eclips4 4ddcd62
``availability`` only works for platforms :(
Eclips4 aa8f5bb
Apply suggestions from code review
Eclips4 0b5bce8
Align indentation
Eclips4 0ffcd9f
Remove unnecessary check
Eclips4 b6c097b
Update Python/pylifecycle.c
Eclips4 b4dc9dc
Update Python/sysmodule.c
Eclips4 46a4a7f
Fix reference leak in error path
Eclips4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add
sys._jit_enabled
- Loading branch information
commit 02d1f6049fb07ee10c784ee6837c0f2b8652761b
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fun. Due to incorrect assumptions, where JIT is actually enabled or not, this hack is no longer needed. Just setting PYTHON_JIT=0 is enough here.