https://github.com/python/cpython/commit/585221fbf347a0f8446c4f921c5835cb4fdaba51 commit: 585221fbf347a0f8446c4f921c5835cb4fdaba51 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-09-28T18:30:47+03:00 summary:
[3.15] Doc: link to documented thread safety guarantees for builtins (GH-158173) (#158174) Co-authored-by: Nathan Goldbaum <[email protected]> files: M Doc/howto/free-threading-python.rst diff --git a/Doc/howto/free-threading-python.rst b/Doc/howto/free-threading-python.rst index 53bea1db191d76f..676fffac9d33ee9 100644 --- a/Doc/howto/free-threading-python.rst +++ b/Doc/howto/free-threading-python.rst @@ -79,10 +79,7 @@ The free-threaded build of CPython aims to provide similar thread-safety behavior at the Python level to the default GIL-enabled build. Built-in types like :class:`dict`, :class:`list`, and :class:`set` use internal locks to protect against concurrent modifications in ways that behave similarly to -the GIL. However, Python has not historically guaranteed specific behavior for -concurrent modifications to these built-in types, so this should be treated -as a description of the current implementation, not a guarantee of current or -future behavior. +the GIL. See :ref:`threadsafety` for the guarantees provided by built-in types. .. note:: _______________________________________________ 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]
