Skip to content

Commit 6704789

Browse files
corona10miss-islington
authored andcommitted
pythongh-120496: Add a note about iterator thread-safe (pythongh-120685)
(cherry picked from commit 7e189ae) Co-authored-by: Donghee Na <[email protected]>
1 parent 1ce5984 commit 6704789

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)