◐ Shell
clean mode source ↗

gh-117139: Replace _PyList_FromArraySteal with stack ref variant by colesbury · Pull Request #122830 · python/cpython

This replaces `_PyList_FromArraySteal` with `_PyList_FromStackRefSteal`.
It's functionally equivalent, but takes a `_PyStackRef` array instead of
an array of `PyObject` pointers.

Co-authored-by: Ken Jin <kenjin@python.org>

@colesbury colesbury marked this pull request as ready for review

August 8, 2024 17:48

blhsing pushed a commit to blhsing/cpython that referenced this pull request

Aug 22, 2024
python#122830)

This replaces `_PyList_FromArraySteal` with `_PyList_FromStackRefSteal`.
It's functionally equivalent, but takes a `_PyStackRef` array instead of
an array of `PyObject` pointers.

Co-authored-by: Ken Jin <kenjin@python.org>