]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-120496: Add a note about iterator thread-safe (gh-120685)
authorDonghee Na <donghee.na@python.org>
Tue, 18 Jun 2024 15:37:34 +0000 (00:37 +0900)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 15:37:34 +0000 (15:37 +0000)
Doc/glossary.rst

index 8685369117fd872fa2f1f149ea67ee8c9fa93aba..281dde30dc78ed221eae75310fe0979a410ffc6a 100644 (file)
@@ -694,6 +694,9 @@ Glossary
 
          CPython does not consistently apply the requirement that an iterator
          define :meth:`~iterator.__iter__`.
+         And also please note that the free-threading CPython does not guarantee
+         the thread-safety of iterator operations.
+
 
    key function
       A key function or collation function is a callable that returns a value