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
PyUntypedArrayMethods::as_array_ptr doesn’t describe under which circumstances the returned pointer is convertible into a reference.
Since the requirements are rather hairy, it would be great to have a way to access the data safely without going through unsafe. Would it e.g. be possible to have this?
PyUntypedArrayMethods::as_array_ptr
doesn’t describe under which circumstances the returned pointer is convertible into a reference.Since the requirements are rather hairy, it would be great to have a way to access the data safely without going through unsafe. Would it e.g. be possible to have this?
Because we currently implement this ourselves, but without any of the aforementioned safety information, we can’t really be sure if it’s safe.
The text was updated successfully, but these errors were encountered: