-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
gh-115999: Make list and tuple iteration more thread-safe. #128637
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
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1533d1d
Make list, tuple and range iteration more thread-safe, and actually test
Yhg1s a069f9b
Fix lint issues.
Yhg1s 661dc7b
Restore the original guard for list_get_item_ref's fast path, since it's
Yhg1s 7263d1e
Merge branch 'main' into list-realloc
Yhg1s 484c6b2
Fix test failures in test_sys because of the changed size of range
Yhg1s 89c4629
Merge branch 'list-realloc' of github.com:Yhg1s/cpython into list-rea…
Yhg1s daacf82
Fix tupleiter_reduce for test_iter's assumptions, and make tupleiter_…
Yhg1s 94ab0c6
Undo the range iterator changes (leave them for later), adjust the range
Yhg1s c6b9200
Remove edit snafu.
Yhg1s ed7e8c7
Merge branch 'main' into list-realloc
Yhg1s dd56d89
Extend tests a little, add suppressions with links to GH issues.
Yhg1s 4028dfe
Address reviewer comments.
Yhg1s ef5ca7c
Turn the last few stores/loads of list iterator/reversed iterator into
Yhg1s e1dd5f8
Merge branch 'main' into list-realloc
Yhg1s f689a8a
Address reviewer comments.
Yhg1s 2923f6a
Merge branch 'list-realloc' of github.com:Yhg1s/cpython into list-rea…
Yhg1s 08f0647
Merge branch 'main' into list-realloc
Yhg1s 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
Fix tupleiter_reduce for test_iter's assumptions, and make tupleiter_…
…len and tupleiter_setstate appropriately relaxed.
- Loading branch information
commit daacf8202a1778073e2cd1b4f4a781a9fa176c41
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
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.