From: Donghee Na Date: Tue, 18 Jun 2024 15:37:34 +0000 (+0900) Subject: gh-120496: Add a note about iterator thread-safe (gh-120685) X-Git-Tag: v3.14.0a1~1429 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e189aed6450c0aebcdd6ff6aefe29e2f45b173a;p=thirdparty%2FPython%2Fcpython.git gh-120496: Add a note about iterator thread-safe (gh-120685) --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 8685369117fd..281dde30dc78 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