]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Replace Py_INCREF() with Py_NewRef() (#99530)
authorVictor Stinner <vstinner@python.org>
Wed, 16 Nov 2022 17:34:24 +0000 (18:34 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2022 17:34:24 +0000 (18:34 +0100)
commit8211cf5d287acfd815b6a7f6471cdf83dcd2bb9b
tree510409237622aa30dfc6833602bdde97c578f2bb
parent19c1462e8dca3319c8290e2edcce482bd18cb018
gh-99300: Replace Py_INCREF() with Py_NewRef() (#99530)

Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef()
and Py_XNewRef().
18 files changed:
Objects/dictobject.c
Objects/funcobject.c
Objects/genobject.c
Objects/namespaceobject.c
Objects/odictobject.c
Objects/rangeobject.c
Objects/typeobject.c
Objects/unionobject.c
Python/bltinmodule.c
Python/codecs.c
Python/compile.c
Python/errors.c
Python/hamt.c
Python/import.c
Python/marshal.c
Python/pythonrun.c
Python/structmember.c
Python/symtable.c