-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Changes from 26 commits
43740f7
65e6cfa
718b21e
f4f1748
20d51dc
a3e6dda
40c001c
81994a9
1618433
1773d9e
9a50db7
4b4e212
19ddff2
91b7a78
e79e0df
759321b
49e4fdc
169831e
c83ea49
1dec18a
02d1f60
a9c5b41
5423c71
49336ab
67123ee
4ddcd62
aa8f5bb
0b5bce8
0ffcd9f
b6c097b
b4dc9dc
46a4a7f
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 |
---|---|---|
|
@@ -1782,10 +1782,8 @@ def test_initconfig_api(self): | |
'perf_profiling': 2, | ||
} | ||
config_dev_mode(preconfig, config) | ||
# Temporarily enable ignore_stderr=True to ignore warnings on JIT builds | ||
# See gh-126255 for more information | ||
self.check_all_configs("test_initconfig_api", config, preconfig, | ||
api=API_ISOLATED, ignore_stderr=True) | ||
Comment on lines
-1785
to
-1788
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. 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. |
||
api=API_ISOLATED, env={'PYTHON_JIT': '0'}) | ||
|
||
def test_initconfig_get_api(self): | ||
self.run_embedded_interpreter("test_initconfig_get_api") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Allow to determine whether the JIT is enabled at runtime via :func:`sys._jit_enabled`. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.