https://github.com/python/cpython/commit/64d315ac11a341fa5622718a679d0f6ef1a8dd6b commit: 64d315ac11a341fa5622718a679d0f6ef1a8dd6b branch: main author: Nathan Goldbaum <[email protected]> committer: ngoldbaum <[email protected]> date: 2026-09-25T08:54:10-06:00 summary:
Doc: link to documented thread safety guarantees for builtins (#158173) 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 53bea1db191d76..676fffac9d33ee 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]
