]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Modules/ directory (#99467)
authorVictor Stinner <vstinner@python.org>
Mon, 14 Nov 2022 12:08:43 +0000 (13:08 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 12:08:43 +0000 (13:08 +0100)
commit7e4dec02ac86bcbe958f299f68ed25d543c23ef9
treebc9999d57707f92f6dc390fed16af10f71e29ddb
parent3817607b8a345851e4fa436747a346890ced33f1
gh-99300: Use Py_NewRef() in Modules/ directory (#99467)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in test C files of the Modules/ directory.
Modules/_io/_iomodule.c
Modules/_io/bufferedio.c
Modules/_io/bytesio.c
Modules/_io/iobase.c
Modules/_io/stringio.c
Modules/_io/textio.c
Modules/_json.c
Modules/_lsprof.c
Modules/_operator.c
Modules/_pickle.c