Skip to content

Commit 1b02811

Browse files
[3.13] gh-120496: Add a note about iterator thread-safe (gh-120685) (#120706)
gh-120496: Add a note about iterator thread-safe (gh-120685) (cherry picked from commit 7e189ae) Co-authored-by: Donghee Na <[email protected]>
1 parent 50fa775 commit 1b02811

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/glossary.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,9 @@ Glossary
694694

695695
CPython does not consistently apply the requirement that an iterator
696696
define :meth:`~iterator.__iter__`.
697+
And also please note that the free-threading CPython does not guarantee
698+
the thread-safety of iterator operations.
699+
697700

698701
key function
699702
A key function or collation function is a callable that returns a value

0 commit comments

Comments
 (0)