Skip to content

Commit 64c7459

Browse files
committed
Improve text for NEWS, avoid implementation details.
1 parent a9ee12d commit 64c7459

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
Setting ``__name__``, ``__qualname__``, ``__doc__`` or ``__module__`` on a
2-
function no longer stops all threads in the free-threaded build. The setters
3-
now use the per-object lock and defer freeing the old value with QSBR, the
4-
same approach used for generator ``__name__``. This fixes a large slowdown
5-
in multi-threaded code using :func:`functools.wraps` since 3.14.7. Readers
6-
of these attributes now use atomic loads, and argument error reporting reads
7-
``__qualname__`` after keyword comparisons, which may execute Python code and
8-
replace it. Previously this could use a freed object.
2+
function no longer stops all threads in the free-threaded build. This fixes a
3+
large slowdown in multi-threaded code using :func:`functools.wraps` since
4+
3.14.7.

0 commit comments

Comments
 (0)