]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Modules/ directory (#99440)
authorVictor Stinner <vstinner@python.org>
Sun, 13 Nov 2022 15:04:33 +0000 (16:04 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Nov 2022 15:04:33 +0000 (16:04 +0100)
commitbbba3f3f43a23ce30e5e943b8b4af197bc844fc3
tree56b6d1c7b749672f6bd11b3accb75245d30f2331
parent0bedc28d146a282b54d8f285f3ac92e06d249cb5
gh-99300: Use Py_NewRef() in Modules/ directory (#99440)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in test C files of the Modules/ directory.
Modules/_testbuffer.c
Modules/_testcapi/vectorcall.c
Modules/_testcapimodule.c
Modules/_testinternalcapi.c
Modules/_testmultiphase.c
Modules/testcapi_long.h