]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Python/Python-ast.c (#99499)
authorVictor Stinner <vstinner@python.org>
Tue, 15 Nov 2022 09:29:56 +0000 (10:29 +0100)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2022 09:29:56 +0000 (10:29 +0100)
commitf13f466474ed53529acd3f209070431fbae14323
tree37b0aa7f90435ec2c910d5def19fc4311082894d
parentee821dcd3961efc47262322848267fe398faa4e4
gh-99300: Use Py_NewRef() in Python/Python-ast.c (#99499)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in Python/Python-ast.c.

Update Parser/asdl_c.py to regenerate code.
Parser/asdl_c.py
Python/Python-ast.c