8000 gh-121464: Make concurrent iteration over enumerate safe under free-threading by eendebakpt · Pull Request #125734 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-121464: Make concurrent iteration over enumerate safe under free-threading #125734

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 22 commits into from
Mar 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
relax test
  • Loading branch information
eendebakpt committed Oct 19, 2024
commit e42f74f9b0f5baf78fbb0f93b2fde1922aeaad6c
3 changes: 1 addition & 2 deletions Lib/test/test_free_threading/test_enumerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ def work(enum, start):
value = next(enum)
except StopIteration:
break
else:
assert isinstance(value, tuple)


@threading_helper.reap_threads
@threading_helper.requires_working_threading()
Expand Down
Loading
0