]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107073: Make PyObject_VisitManagedDict() public (#108763)
authorVictor Stinner <vstinner@python.org>
Mon, 2 Oct 2023 17:24:08 +0000 (19:24 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 17:24:08 +0000 (19:24 +0200)
commitfc2cb86d210555d509debaeefd370d5331cd9d93
treeebbe2b02c0ff0b0c0cab825b52d79ccf3e99fb18
parent6387b5313c60c1403785b2245db33372476ac304
gh-107073: Make PyObject_VisitManagedDict() public (#108763)

Make PyObject_VisitManagedDict() and PyObject_ClearManagedDict()
functions public in Python 3.13 C API.

* Rename _PyObject_VisitManagedDict() to PyObject_VisitManagedDict().
* Rename _PyObject_ClearManagedDict() to PyObject_ClearManagedDict().
* Document these functions.
12 files changed:
Doc/c-api/object.rst
Doc/c-api/typeobj.rst
Doc/whatsnew/3.12.rst
Doc/whatsnew/3.13.rst
Include/cpython/object.h
Misc/NEWS.d/next/C API/2023-09-01-15-35-05.gh-issue-107073.zCz0iN.rst [new file with mode: 0644]
Modules/_asynciomodule.c
Modules/_testcapi/heaptype.c
Modules/_testcapimodule.c
Objects/dictobject.c
Objects/typeobject.c
Objects/typevarobject.c