summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-19 04:15:44 (GMT)
committerGitHub <noreply@github.com>2024-06-19 04:15:44 (GMT)
commit1b028117d17a3e2722a416ddd993ffaafe4c982b (patch)
tree8137465bb2d069b3285cf7affab1c441eaecd051
parent50fa775e6821b8b242f5709c36c62e7c4fb2c522 (diff)
downloadcpython-1b028117d17a3e2722a416ddd993ffaafe4c982b.zip
cpython-1b028117d17a3e2722a416ddd993ffaafe4c982b.tar.gz
cpython-1b028117d17a3e2722a416ddd993ffaafe4c982b.tar.bz2
[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 7e189aed6450c0aebcdd6ff6aefe29e2f45b173a) Co-authored-by: Donghee Na <donghee.na@python.org>
-rw-r--r--Doc/glossary.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index ae9949b..bacbf66 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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