]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Modules/ directory (#99469)
authorVictor Stinner <vstinner@python.org>
Mon, 14 Nov 2022 15:21:23 +0000 (16:21 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 15:21:23 +0000 (16:21 +0100)
commit3e2f7135e6164860b763cf5d0d22b9dc12409767
treed32b9ee479403299d16d9fe723618667a81591d5
parente3d4fed07429670af631e5662086b76c1ec098c4
gh-99300: Use Py_NewRef() in Modules/ directory (#99469)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in test C files of the Modules/ directory.
Modules/cjkcodecs/multibytecodec.c
Modules/gcmodule.c
Modules/getpath.c
Modules/mathmodule.c
Modules/ossaudiodev.c
Modules/overlapped.c
Modules/posixmodule.c
Modules/pyexpat.c
Modules/readline.c
Modules/socketmodule.c