[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)
Antoine Pitrou
report at bugs.python.org
Mon Jun 27 19:21:59 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Le Mon, 27 Jun 2011 13:17:57 +0000,
Nick Coghlan <report at bugs.python.org> a écrit :
>
> The TL;DR version of the above is that I would like to see it become:
>
> typedef struct {
> PyObject_HEAD
> PyManagedBuffer source_data; // shared read-only Py_buffer access
> Py_buffer view; // shape, strides, etc potentially modified
> } PyMemoryViewObject;
Looks ok to me.
(well, acceptable anyway)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10181>
_______________________________________
More information about the Python-bugs-list
mailing list