File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1235,6 +1235,13 @@ always available.
12351235
12361236 .. versionadded :: 3.13
12371237
1238+ .. function :: _jit_enabled()
1239+ Return :const: `True ` if :ref: `JIT compiler <whatsnew313-jit-compiler >` is active.
1240+ Return :const: `False ` otherwise.
1241+
1242+ .. availability :: JIT builds, tier 2 interpreter doesn't count here.
1243+
1244+ .. versionadded :: next
12381245
12391246.. function :: is_finalizing()
12401247
Original file line number Diff line number Diff line change 443443 which only exists in specialized builds of Python, may now return objects
444444 from other interpreters than the one it's called in.
445445
446+ * Add a :func: `sys._jit_enabled ` which helps to determine in runtime if
447+ :ref: `JIT compiler <whatsnew313-jit-compiler >` is active.
448+
446449
447450unicodedata
448451-----------
Original file line number Diff line number Diff line change 1- Allow to determine whether the JIT is enabled at runtime via :func: `! sys._jit_enabled `.
1+ Allow to determine whether the JIT is enabled at runtime via :func: `sys._jit_enabled `.
You can’t perform that action at this time.
0 commit comments