[issue4580] slicing of memoryviews when itemsize != 1 is wrong

Travis Oliphant report at bugs.python.org
Wed Dec 10 16:33:43 CET 2008


Travis Oliphant <oliphant at enthought.com> added the comment:

Another comment on statements made

  * I don't see where array.array getbuf implementation is broken.  It
looks correct to me.  It sets view.shape to NULL unless the consumer
asked for the shape information to be reported in which case it sets it
equal to a pointer to the number of elements in the array.

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


More information about the Python-bugs-list mailing list