Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
19ddd2e
Issue-124397: Add free-threading support for iterators.
rhettinger Apr 22, 2026
4aa242d
Add blurb
rhettinger Apr 23, 2026
e0c44be
More wordsmithing
rhettinger Apr 23, 2026
adcb718
Clarify use of the lock. Add message to the ValueError.
rhettinger Apr 23, 2026
4c2bad0
Include "threading" in the reference
rhettinger Apr 23, 2026
d9dde84
Support send(), throw(), and close() for generators.
rhettinger Apr 23, 2026
fcb9ee8
Tweak wording. Add doctest.
rhettinger Apr 23, 2026
314ec67
Merge branch 'main' into iterator_synchronization
rhettinger Apr 23, 2026
802c1e8
Adopt GPS suggestion to make the instance variables private.
rhettinger Apr 28, 2026
201bc76
Adopt GPS suggestion to add an example to the docstring
rhettinger Apr 28, 2026
2384f46
Add test for exceptions in next() calls
rhettinger Apr 28, 2026
8e291b4
Adopt suggestion for more iterator specific names
rhettinger Apr 30, 2026
adfad71
Test the code blocks
rhettinger Apr 30, 2026
b6601a1
Adopt Colesbury suggestion for a generator example
rhettinger Apr 30, 2026
7df1ef7
Use new name in class reference
rhettinger Apr 30, 2026
4efe3f5
Add whatsnew entry
rhettinger Apr 30, 2026
fa733cf
Adopt Peter's suggestion to not use a lazy import
rhettinger May 1, 2026
0e207fb
Note version added
rhettinger May 1, 2026
4802517
Harmonize the examples into parallel form for easy comparison
rhettinger May 1, 2026
06ed996
Update Lib/threading.py
rhettinger May 1, 2026
a81276a
Update Lib/threading.py
rhettinger May 1, 2026
0c0471f
Update Doc/library/threading.rst
rhettinger May 1, 2026
2563d26
Merge branch 'main' into iterator_synchronization
rhettinger May 1, 2026
ed5dd0f
Defer the import of functools
rhettinger May 1, 2026
fbae726
Adopt suggestion from Daniele to verify the worker threads actually s…
rhettinger May 1, 2026
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
Add blurb
  • Loading branch information
rhettinger committed Apr 23, 2026
commit 4aa242d95ba25b9121bb07437f33b134f7e44aaf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The threading module added tooling to support concurrent iterator access:
:class:`serialize`, :func:`synchronized`, and :func:`concurrent_tee`.
Loading