Skip to content

Commit 27e3acd

Browse files
Update Misc/NEWS.d/next/Library/2025-01-06-10-37-27.gh-issue-128384.V0xzwH.rst
Co-authored-by: Kumar Aditya <[email protected]>
1 parent b9db71f commit 27e3acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Add locking to :mod:`warnings` to avoid some data races when free-threading
22
is used. Change ``_warnings_runtime_state.mutex`` to be a recursive mutex
3-
and expose it to :mod:`warnings`, via the :func:`_acquire_lock` and
4-
:func:`_release_lock` functions. Hold the lock when ``filters`` and
3+
and expose it to :mod:`warnings`, via the :func:`!_acquire_lock` and
4+
:func:`!_release_lock` functions. The lock is held when ``filters`` and
55
``_filters_version`` are updated.

0 commit comments

Comments
 (0)