Travis Oliphant wrote: > When a slice view is made, a new memoryview object is created with a > Py_buffer structure that needs to allocate it's own shape and strides > (or something that will allow correct shape and strides to be reported > to any consumer). In this way, there are two Py_buffer structures. To be precise, the important thing is for the memoryview to allocate its own shape and strides. It's not strictly necessary to keep them internally in a Py_buffer struct, although that may be a convenient way to do it. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4