Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commented Aug 8, 2024

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

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
Copy link
ContributorAuthor

@colesburycolesbury marked this pull request as ready for review August 8, 2024 17:48
Copy link
Contributor

@DinoVDinoV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@colesburycolesbury merged commit ab094d1 into python:mainAug 12, 2024
@colesburycolesbury deleted the gh-117139-list-steal branch August 12, 2024 18:49
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>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@colesbury@DinoV