You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel like I'd want to expose the buffer protocol on our classes, so that we could call memoryview on any user input and interpret it the same whether it's one of our classes or a plain bytes object. In this case, we might also want to move to top-level functions instead of class methods?
The text was updated successfully, but these errors were encountered:
We should probably implement FromPyObject on the main index class, but also potentially have a separate "view" class, not exported to Python, so that we can use a python buffer without copying it
I feel like I'd want to expose the buffer protocol on our classes, so that we could call
memoryview
on any user input and interpret it the same whether it's one of our classes or a plainbytes
object. In this case, we might also want to move to top-level functions instead of class methods?The text was updated successfully, but these errors were encountered: