]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Objects/ directory (#99332)
authorVictor Stinner <vstinner@python.org>
Thu, 10 Nov 2022 15:27:32 +0000 (16:27 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 15:27:32 +0000 (16:27 +0100)
commitc0feb99187f449f844621b378273776d70a50f57
tree23251e00cd73fab30b9ae2df063ce8bc6edef3e9
parent4ce2a202c7b573edaa0ee4a2315d5578f66737c5
gh-99300: Use Py_NewRef() in Objects/ directory (#99332)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Objects/ directory.
Objects/abstract.c
Objects/boolobject.c
Objects/bytesobject.c
Objects/call.c
Objects/cellobject.c
Objects/classobject.c
Objects/codeobject.c
Objects/complexobject.c
Objects/descrobject.c