https://github.com/python/cpython/commit/48cc2579b65be508ca64b6cb64ce0f7922eab9ab
commit: 48cc2579b65be508ca64b6cb64ce0f7922eab9ab
branch: main
author: Wojusensei <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-07-07T21:43:35+05:30
summary:

gh-152798: update sys.thread_info.lock documentation to match implementation 
(#153263)

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index d0fe0625deb513..9a41e406c8c10e 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -2240,8 +2240,9 @@ always available. Unless explicitly noted otherwise, all 
variables are read-only
 
       The name of the lock implementation:
 
-      * ``"semaphore"``: a lock uses a semaphore
-      * ``"mutex+cond"``: a lock uses a mutex and a condition variable
+      * ``"semaphore"``: a lock uses a semaphore (Python 3.14 and older)
+      * ``"mutex+cond"``: a lock uses a mutex and a condition variable (Python 
3.14 and older)
+      * ``"pymutex"``: a lock uses the :c:type:`PyMutex` implementation 
(Python 3.15 and newer)
       * ``None`` if this information is unknown
 
    .. attribute:: thread_info.version

_______________________________________________
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]

Reply via email to