[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

Antoine Pitrou report at bugs.python.org
Tue Jul 5 13:49:04 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> I'm slightly confused about the implication chain in the flags. PyBUF_STRIDES 
> seem to allow for discontiguous arrays, yet STRIDES -> ND -> C_CONTIGUOUS.

To be honest I have never understood anything about these flags, and I
doubt anyone without a numpy background would.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10181>
_______________________________________


More information about the Python-bugs-list mailing list