]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42262: Add Py_NewRef() and Py_XNewRef() (GH-23152)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Nov 2020 14:02:12 +0000 (15:02 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 14:02:12 +0000 (15:02 +0100)
commit53a03aafd5812018a3821a2e83063fd3d6cd2576
treec38adba5e60f412a36ea31736fb6265b2f754a40
parent80449f243b13311d660eab3a751648029bcdd833
bpo-42262: Add Py_NewRef() and Py_XNewRef() (GH-23152)

Added Py_NewRef() and Py_XNewRef() functions to increment the reference
count of an object and return the object.
Doc/c-api/refcounting.rst
Doc/whatsnew/3.10.rst
Include/boolobject.h
Include/object.h
Misc/NEWS.d/next/C API/2020-11-04-17-22-36.bpo-42262.fCWzBb.rst [new file with mode: 0644]
Objects/object.c
PC/python3dll.c