]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-120496: Add a note about iterator thread-safe (gh-120685) (#120706)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Jun 2024 04:15:44 +0000 (06:15 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 04:15:44 +0000 (13:15 +0900)
gh-120496: Add a note about iterator thread-safe (gh-120685)
(cherry picked from commit 7e189aed6450c0aebcdd6ff6aefe29e2f45b173a)

Co-authored-by: Donghee Na <donghee.na@python.org>
Doc/glossary.rst

index ae9949bc2867c46aa2db1d8a89524c3652c91f9a..bacbf66b433563c6dc3f346e56c41b3c41cbe928 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