]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105387: Limited C API implements Py_INCREF() as func (GH-105388) (#105763)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Jun 2023 01:05:01 +0000 (18:05 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 01:05:01 +0000 (01:05 +0000)
commit26bc2cc06128890ac89492eca20e83abe0789c1c
tree316296f4c6994a1113a1abe49afb45e733498226
parent33d3069c45bda38f52053a115e3c0810cd631dd6
[3.12] gh-105387: Limited C API implements Py_INCREF() as func (GH-105388) (#105763)

gh-105387: Limited C API implements Py_INCREF() as func (GH-105388)

In the limited C API version 3.12, Py_INCREF() and Py_DECREF()
functions are now implemented as opaque function calls to hide
implementation details.
(cherry picked from commit b542972dc133973a7f0517aa1b61779271789111)

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/whatsnew/3.12.rst
Include/object.h
Misc/NEWS.d/next/C API/2023-06-09-12-35-55.gh-issue-105387.wM_oL-.rst [new file with mode: 0644]