]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Objects/ directory (#99354)
authorVictor Stinner <vstinner@python.org>
Thu, 10 Nov 2022 22:58:07 +0000 (23:58 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 22:58:07 +0000 (23:58 +0100)
commit3a1dde8f29215418ec4e27fd6234cfa19a5407c6
tree433d4efb6105ded7a5abcc0f96360731840b10aa
parent1960eb005e04b7ad8a91018088cfdb0646bc1ca0
gh-99300: Use Py_NewRef() in Objects/ directory (#99354)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Objects/ directory.
13 files changed:
Objects/memoryobject.c
Objects/methodobject.c
Objects/moduleobject.c
Objects/object.c
Objects/odictobject.c
Objects/setobject.c
Objects/sliceobject.c
Objects/stringlib/join.h
Objects/stringlib/transmogrify.h
Objects/stringlib/unicode_format.h
Objects/structseq.c
Objects/unionobject.c
Objects/weakrefobject.c