]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Modules/ directory (#99468)
authorVictor Stinner <vstinner@python.org>
Mon, 14 Nov 2022 12:44:56 +0000 (13:44 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 12:44:56 +0000 (13:44 +0100)
commitc340cbb7f74bc99eaf72d6a4ef5b4d504d8519c8
tree2fa984d78bf3aa7e8c713f33c7ffdd6ed5817eb4
parent9a7e9f9921804f3f90151ca42703e612697dd430
gh-99300: Use Py_NewRef() in Modules/ directory (#99468)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in test C files of the Modules/ directory.
Modules/_sre/sre.c
Modules/_ssl.c
Modules/_ssl/debughelpers.c
Modules/_struct.c
Modules/_tkinter.c
Modules/_tracemalloc.c
Modules/_typingmodule.c
Modules/_winapi.c
Modules/_xxsubinterpretersmodule.c
Modules/arraymodule.c