Skip to content

Commit 7e189ae

Browse files
authored
gh-120496: Add a note about iterator thread-safe (gh-120685)
1 parent 1035fe0 commit 7e189ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: Doc/glossary.rst

+3
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)