]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-144289: Remove ENABLE_SPECIALIZATION_FT (gh-144290)
authorSam Gross <colesbury@gmail.com>
Tue, 27 Jan 2026 22:52:50 +0000 (17:52 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Jan 2026 22:52:50 +0000 (17:52 -0500)
commit6ea3f8cd7ff4ff9769ae276dabc0753e09dca998
tree68854b1a52209d3aac9728517cc1c87c6c7ca9f2
parent6b4538192ddac518b9c15b3f79445c964330dee3
gh-144289: Remove ENABLE_SPECIALIZATION_FT (gh-144290)

Now that the specializing interpreter works with free threading,
replace ENABLE_SPECIALIZATION_FT with ENABLE_SPECIALIZATION and
replace requires_specialization_ft with requires_specialization.

Also limit the uniquely referenced check to FOR_ITER_RANGE. It's not
necessary for FOR_ITER_GEN and would cause test_for_iter_gen to fail.
13 files changed:
Include/internal/pycore_code.h
Lib/test/support/__init__.py
Lib/test/test_monitoring.py
Lib/test/test_opcache.py
Lib/test/test_thread_local_bytecode.py
Lib/test/test_type_cache.py
Modules/_opcode.c
Modules/_testinternalcapi/test_cases.c.h
Python/bytecodes.c
Python/ceval.c
Python/ceval_macros.h
Python/generated_cases.c.h
Python/specialize.c