]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Objects/ directory (#99351)
authorVictor Stinner <vstinner@python.org>
Thu, 10 Nov 2022 22:40:31 +0000 (23:40 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 22:40:31 +0000 (23:40 +0100)
commit1960eb005e04b7ad8a91018088cfdb0646bc1ca0
tree3912d4fc7282b35a9729c893e2ac8a6dea1f3730
parent584e55bd34a38a0bd4b6ed3534fdbf7dc35c64b0
gh-99300: Use Py_NewRef() in Objects/ directory (#99351)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Objects/ directory.
Objects/longobject.c
Objects/rangeobject.c
Objects/tupleobject.c
Objects/typeobject.c
Objects/unicodeobject.c