]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111506: Implement Py_SET_REFCNT() as opaque function in limited C API (#111508)
authorVictor Stinner <vstinner@python.org>
Fri, 3 Nov 2023 17:18:57 +0000 (18:18 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Nov 2023 17:18:57 +0000 (18:18 +0100)
commit20cfab903db70cf952128bc6b606e3ec4a216498
treedfed10d60f9b45ebc0cf52c2351859a328371e53
parente0afed7e276b6611a2142ec70a0440298d528305
gh-111506: Implement Py_SET_REFCNT() as opaque function in limited C API (#111508)

In the limited C API version 3.13, Py_SET_REFCNT() function is now
implemented as an opaque function call.

Add _Py_SetRefcnt() to the stable ABI.
Include/object.h
Lib/test/test_stable_abi_ctypes.py
Misc/NEWS.d/next/C API/2023-10-30-18-13-01.gh-issue-111506.EUdO22.rst [new file with mode: 0644]
Misc/stable_abi.toml
Objects/object.c
PC/python3dll.c