-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PyMemoryView
type
#3514
Add PyMemoryView
type
#3514
Conversation
IMO this PR is a very limited version of #2792 that just opens door to return memoryview object, the existing |
Ok, so we leave the original issue open. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me! Perhaps consider adding unit tests for the TryFrom
implementations before merging? Otherwise please feel free to merge :)
Added in f4e64aa, but it looks like the ergonomics of the new |
Ah yes, we should probably remove |
Provides a safe way to return a memoryview object to Python.