]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Parser/ directory (#99330)
authorVictor Stinner <vstinner@python.org>
Thu, 10 Nov 2022 14:30:05 +0000 (15:30 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 14:30:05 +0000 (15:30 +0100)
commit4ce2a202c7b573edaa0ee4a2315d5578f66737c5
tree306b0a880ccfd96f3953d507fd7d23822c478462
parent1e197e63e21f77b102ff2601a549dda4b6439455
gh-99300: Use Py_NewRef() in Parser/ directory (#99330)

Replace Py_INCREF() with Py_NewRef() in C files of the Parser/
directory and in the PEG generator.
Parser/pegen.c
Parser/string_parser.c
Parser/tokenizer.c
Tools/peg_generator/peg_extension/peg_extension.c