]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Objects/ directory (#99335)
authorVictor Stinner <vstinner@python.org>
Thu, 10 Nov 2022 21:22:02 +0000 (22:22 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 21:22:02 +0000 (22:22 +0100)
commit584e55bd34a38a0bd4b6ed3534fdbf7dc35c64b0
tree3eb2005170635a27dc24516ace42a4cca741be38
parent2f4af2d99cffed6ba81e4b8fd886de6ae8625a3f
gh-99300: Use Py_NewRef() in Objects/ directory (#99335)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Objects/ directory.
Objects/enumobject.c
Objects/exceptions.c
Objects/floatobject.c
Objects/frameobject.c
Objects/funcobject.c
Objects/genericaliasobject.c
Objects/genobject.c
Objects/iterobject.c