FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-144289: Remove ENABLE_SPECIALIZATION_FT by colesbury · Pull Request #144290 · python/cpython · GitHub

/ cpython Public

gh-144289: Remove ENABLE_SPECIALIZATION_FT - #144290

Merged
colesbury merged 2 commits into
python:mainfrom
colesbury:gh-144289-specialize-cleanup
Jan 27, 2026
Merged

gh-144289: Remove ENABLE_SPECIALIZATION_FT#144290
colesbury merged 2 commits into
python:mainfrom
colesbury:gh-144289-specialize-cleanup

Conversation

colesbury commented Jan 27, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor Author

TSan failure should be fixed by #144291

colesbury marked this pull request as ready for review January 27, 2026 22:11
colesbury requested a review from mpage January 27, 2026 22:11
colesbury merged commit 6ea3f8c into python:main Jan 27, 2026
75 checks passed
colesbury deleted the gh-144289-specialize-cleanup branch January 27, 2026 22:52
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL