GH-133231: Add JIT utilities in sys._jit#133233
Conversation
| .. 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 |
There was a problem hiding this comment.
We should backport this, should it be split out into a different PR for ease?
There was a problem hiding this comment.
We can just backport it separately, since I need the ref for this PR's changes.
There was a problem hiding this comment.
Is it worth using miss-islington for the backport here?
There was a problem hiding this comment.
I'll just do it manually in a bit.
|
I just realized that my approach for |
|
Okay, reworked to support tail-calling. |
|
@markshannon, let me know what you think. The bots won't let us merge features without approving review, but I'd like to get something like this in before the freeze. |
markshannon
left a comment
There was a problem hiding this comment.
Looks good.
One small suggestion
sys._jit#133231📚 Documentation preview 📚: https://cpython-previews--133233.org.readthedocs.build/