https://github.com/python/cpython/commit/1b028117d17a3e2722a416ddd993ffaafe4c982b commit: 1b028117d17a3e2722a416ddd993ffaafe4c982b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: corona10 <[email protected]> date: 2024-06-19T13:15:44+09:00 summary:
[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 <[email protected]> files: M Doc/glossary.rst diff --git a/Doc/glossary.rst b/Doc/glossary.rst index ae9949bc2867c4..bacbf66b433563 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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
