mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
The code for Tier 2 is now only compiled when configured with `--enable-experimental-jit[=yes|interpreter]`. We drop support for `PYTHON_UOPS` and -`Xuops`, but you can disable the interpreter or JIT at runtime by setting `PYTHON_JIT=0`. You can also build it without enabling it by default using `--enable-experimental-jit=yes-off`; enable with `PYTHON_JIT=1`. On Windows, the `build.bat` script supports `--experimental-jit`, `--experimental-jit-off`, `--experimental-interpreter`. In the C code, `_Py_JIT` is defined as before when the JIT is enabled; the new variable `_Py_TIER2` is defined when the JIT *or* the interpreter is enabled. It is actually a bitmask: 1: JIT; 2: default-off; 4: interpreter. |
||
|---|---|---|
| .. | ||
| _hypothesis_stubs | ||
| interpreters | ||
| __init__.py | ||
| ast_helper.py | ||
| asynchat.py | ||
| asyncore.py | ||
| bytecode_helper.py | ||
| hashlib_helper.py | ||
| hypothesis_helper.py | ||
| import_helper.py | ||
| logging_helper.py | ||
| os_helper.py | ||
| pty_helper.py | ||
| refleak_helper.py | ||
| script_helper.py | ||
| smtpd.py | ||
| socket_helper.py | ||
| testcase.py | ||
| threading_helper.py | ||
| warnings_helper.py | ||