cpython/Misc/NEWS.d/next/C API
Miss Islington (bot) bb5bf24226
[3.13] gh-118789: Restore hidden _PyWeakref_ClearRef (GH-118797) (GH-118903)
gh-118789: Restore hidden `_PyWeakref_ClearRef` (GH-118797)

_PyWeakref_ClearRef was previously exposed in the public C-API, although
it begins with an underscore and is not documented. It's used by a few
C-API extensions. There is currently no alternative public API that can
replace its use.

_PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way to
use _PyWeakref_ClearRef in the free-threaded build. This exposes the C
symbol, but does not make the API public.
(cherry picked from commit db5af7da09)

Co-authored-by: Sam Gross <colesbury@gmail.com>
2024-05-10 14:20:22 +00:00
..
2024-05-08-20-13-00.gh-issue-118789.m88uUa.rst [3.13] gh-118789: Restore hidden _PyWeakref_ClearRef (GH-118797) (GH-118903) 2024-05-10 14:20:22 +00:00
2024-05-08-23-14-06.gh-issue-116984.5sgcDo.rst [3.13] gh-116984: Make mimalloc header includes relative to the current file (GH-118808) (#118866) 2024-05-09 20:26:36 +00:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

Put news entry `blurb`_ files for the *C API* section in this directory.

.. _blurb: https://pypi.org/project/blurb/