GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — gh-126204: Add a `sys._jit_enabled` helper by Eclips4 · Pull Request #126247 · python/cpython Conversation
|
| # 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) |
There was a problem 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.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Py_JIT_ENABLED variable to pyconfig.hsys._jit_enabled helper
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A final nitpick. And a question: is there a lot of
_PyOptimizerObject* optimizer = _Py_GetOptimizer(); if (optimizer != NULL) { Py_DECREF(optimizer); ... }
in the code? if so, we could perhaps have some function that checks if there is an optimizer.
EDIT: Since we are moving to removing the _PyOptimizer API, it's possible we don't need this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <[email protected]>
In fact, there are only two uses of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Superseded by #129194 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.