[issue39836] Implement PyObject_GetMemoryView

2020-03-03 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue39836] Implement PyObject_GetMemoryView

2020-03-03 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : We have a memory-view object represented with the following structure: typedef struct { PyObject_VAR_HEAD _PyManagedBufferObject *mbuf; /* managed buffer */ Py_hash_t hash; /* hash value for read-only views */ int flags;