summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-06-20 16:00:25 (GMT)
committerGitHub <noreply@github.com>2024-06-20 16:00:25 (GMT)
commit3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd (patch)
treef5b72124507a3c8ea7e5938bdb2cdb7563ca1ac1 /Doc/whatsnew
parent7c7aa5a99cce256ff726654038092a333a1f0531 (diff)
downloadcpython-3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd.zip
cpython-3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd.tar.gz
cpython-3cb6c4cd60bec1acbcd960f5e7bd65f78152dbdd.tar.bz2
[3.13] gh-117511: Make PyMutex public in the non-limited API (GH-117731) (#120800)
(cherry picked from commit 3af7263037de1d0ef63b070fc7bfc2cf042eaebe)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.13.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 19727b9..35853ff 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -2160,6 +2160,11 @@ New Features
:c:func:`PyEval_GetLocals` return :term:`strong references <strong reference>`
rather than borrowed references. (Added as part of :pep:`667`.)
+* Add :c:type:`PyMutex` API, a lightweight mutex that occupies a single byte.
+ The :c:func:`PyMutex_Lock` function will release the GIL (if currently held)
+ if the operation needs to block.
+ (Contributed by Sam Gross in :gh:`108724`.)
+
Build Changes
=============