]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Python/ directory (#99302)
authorVictor Stinner <vstinner@python.org>
Thu, 10 Nov 2022 08:03:39 +0000 (09:03 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 08:03:39 +0000 (09:03 +0100)
commitd8f239d86eb70c31aa4c4ac46a1d0a27bdb14b20
tree7055b2d966bf41e636751177cea0248b56072e92
parentf883b7f8ee3209b52863fc662343c8cd81abdc59
gh-99300: Use Py_NewRef() in Python/ directory (#99302)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in C files of the Python/ directory.
14 files changed:
Python/_warnings.c
Python/ast_opt.c
Python/codecs.c
Python/errors.c
Python/getargs.c
Python/initconfig.c
Python/marshal.c
Python/modsupport.c
Python/pylifecycle.c
Python/pystate.c
Python/pythonrun.c
Python/suggestions.c
Python/symtable.c
Python/thread.c