This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, skrah
Date 2015-03-10.21:46:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426024001.13.0.843495227824.issue23632@psf.upfronthosting.co.za>
In-reply-to
Content
It is a bit of pity. A least non-sliced indexing should be able to work:

>>> import numpy as np
>>> a = np.arange(10)
>>> memoryview(a)[0]
0
>>> a = np.arange(10).reshape((2,5))
>>> a[0,1]
1
>>> memoryview(a)[0,1]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: memoryview: invalid slice key
History
Date User Action Args
2015-03-10 21:46:41pitrousetrecipients: + pitrou, skrah
2015-03-10 21:46:41pitrousetmessageid: <1426024001.13.0.843495227824.issue23632@psf.upfronthosting.co.za>
2015-03-10 21:46:41pitroulinkissue23632 messages
2015-03-10 21:46:41pitroucreate