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. |
davidhewitt
left a comment
There was a problem hiding this comment.
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.