Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury 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
ContributorAuthor

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

@colesbury
Copy link
ContributorAuthor

TSan failure should be fixed by #144291

@colesburycolesbury marked this pull request as ready for review January 27, 2026 22:11
@colesburycolesbury requested a review from mpageJanuary 27, 2026 22:11
@colesburycolesbury merged commit 6ea3f8c into python:mainJan 27, 2026
75 checks passed
@colesburycolesbury deleted the gh-144289-specialize-cleanup branch January 27, 2026 22:52
Sign up for freeto 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

@colesbury@mpage