-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
GH-145668: Add FOR_ITER specialization for virtual iterators. Specialize GET_ITER. #147967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
markshannon
merged 21 commits into
python:main
from
markshannon:specialize-iteration-with-jit
Apr 16, 2026
Merged
Changes from 13 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3a6f48d
Add FOR_ITER specialization for virtual iterators. Specialize GET_ITER.
markshannon 74b5289
Document new tp_iteritem function slot.
markshannon 4dd6992
Simplify list_iteritem
markshannon 4376246
Make it clearer to MSVC that variable doesn't escape
markshannon 5a81e54
Return a small struct in tp_iteritem to support MSVC tailcalling
markshannon b927de4
Fix editing slip
markshannon 044cce2
Put limited RESUME at start of genexpr for free-threading. Fix up exc…
markshannon 4ba6ecd
Merge branch 'main' into specialize-iteration-with-jit
markshannon b08dce2
Merge branch 'main' into specialize-iteration-with-jit
markshannon 830068c
Fix test_dis
markshannon 931084a
Merge branch 'main' into specialize-iteration-with-jit
markshannon 87215d5
Merge branch 'main' into specialize-iteration-with-jit
markshannon 73b9b87
Fix magic number
markshannon fdef628
Address review comments
markshannon b8baca5
Merge branch 'main' into specialize-iteration-with-jit
markshannon b3dc340
Make struct private
markshannon 1c269b6
Try to keep sphinx happy
markshannon 09ecaef
Declare tp_iteritem and iteritemfunc private by adding _ prefix to names
markshannon 92a3a97
Merge branch 'main' into specialize-iteration-with-jit
markshannon a55ac63
Address code review: Remove struct tag
markshannon 6406871
Merge branch 'main' into specialize-iteration-with-jit
markshannon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.