Skip to content

Conversation

@youknowone
Copy link

PyObject_GetBuffer initialize the buffer, and the buffer is safe to be initialized by that call.
This is more clear by not separating them to each unsafe group.

@youknowone youknowone marked this pull request as ready for review November 25, 2025 00:17
Copy link
Owner

@emmatyping emmatyping left a comment

Choose a reason for hiding this comment

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

Nice!

@emmatyping emmatyping merged commit c913bd2 into emmatyping:rust-in-cpython Nov 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants