]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111520: Integrate the Tier 2 interpreter in the Tier 1 interpreter (#111428)
authorGuido van Rossum <guido@python.org>
Wed, 1 Nov 2023 20:13:02 +0000 (13:13 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2023 20:13:02 +0000 (13:13 -0700)
commit7e135a48d619407cd4b2a6d80a4ce204b2f5f938
treee0f063e3993696fc700092f50a1cee81f97974ff
parent5d6db168b9cda58b4897763041a6109b93e421cb
gh-111520: Integrate the Tier 2 interpreter in the Tier 1 interpreter (#111428)

- There is no longer a separate Python/executor.c file.
- Conventions in Python/bytecodes.c are slightly different -- don't use `goto error`,
  you must use `GOTO_ERROR(error)` (same for others like `unused_local_error`).
- The `TIER_ONE` and `TIER_TWO` symbols are only valid in the generated (.c.h) files.
- In Lib/test/support/__init__.py, `Py_C_RECURSION_LIMIT` is imported from `_testcapi`.
- On Windows, in debug mode, stack allocation grows from 8MiB to 12MiB.
- **Beware!** This changes the env vars to enable uops and their debugging
  to `PYTHON_UOPS` and `PYTHON_LLTRACE`.
19 files changed:
Lib/test/support/__init__.py
Lib/test/test_generated_cases.py
Makefile.pre.in
Misc/NEWS.d/next/Core and Builtins/2023-10-31-21-33-35.gh-issue-111520.vw-rxJ.rst [new file with mode: 0644]
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
PCbuild/python.vcxproj
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/bytecodes.c
Python/ceval.c
Python/ceval_macros.h
Python/executor.c [deleted file]
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/optimizer.c
Python/pylifecycle.c
Tools/cases_generator/generate_cases.py
Tools/cases_generator/instructions.py