]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-128682: Convert explicit loops closing arrays into `DECREF_INPUTS`. (GH-128822)
authorMark Shannon <mark@hotpy.org>
Tue, 14 Jan 2025 15:08:56 +0000 (15:08 +0000)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2025 15:08:56 +0000 (15:08 +0000)
commitf49a1df6f3b1249bcaedfda8e000e27c6cdffd99
tree154fa92c820b5d06bee762eb5778f8f1556318ba
parentbbd3300ae82a71da483dbb0c345175ba090263c4
GH-128682: Convert explicit loops closing arrays into `DECREF_INPUTS`. (GH-128822)

* Mark Py_DECREF and Py_XDECREF as escaping

* Remove explicit loops for clearing array inputs
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/optimizer_cases.c.h
Tools/cases_generator/analyzer.py
Tools/cases_generator/generators_common.py