Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-144289: Remove ENABLE_SPECIALIZATION_FT#144290

Merged
colesbury merged 2 commits intopython:mainpython/cpython:mainfrom
colesbury:gh-144289-specialize-cleanupcolesbury/cpython:gh-144289-specialize-cleanupCopy head branch name to clipboard
Jan 27, 2026
Merged

gh-144289: Remove ENABLE_SPECIALIZATION_FT#144290
colesbury merged 2 commits intopython:mainpython/cpython:mainfrom
colesbury:gh-144289-specialize-cleanupcolesbury/cpython:gh-144289-specialize-cleanupCopy head branch name to clipboard

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Jan 27, 2026

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.

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.
@colesbury
Copy link
Contributor Author

Used Claude Code for this (thanks @gpshead!) -- it worked pretty well.

@colesbury
Copy link
Contributor Author

TSan failure should be fixed by #144291

@colesbury colesbury marked this pull request as ready for review January 27, 2026 22:11
@colesbury colesbury requested a review from mpage January 27, 2026 22:11
@colesbury colesbury merged commit 6ea3f8c into python:main Jan 27, 2026
75 checks passed
@colesbury colesbury deleted the gh-144289-specialize-cleanup branch January 27, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.