homepage

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 undercoveridiot
Recipients DLowell, belopolsky, ncoghlan, pitrou, pv, skrah, teoliphant, undercoveridiot
Date 2014年02月08日.01:45:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391823910.86.0.72846464747.issue14130@psf.upfronthosting.co.za>
In-reply-to
Content
If there is any way to get this implemented, it is needed. For one, the docs on memoryview make no mention that indexing and slicing doesn't work with multi-dimensional data which led me to believe it was supported until I tried using it. A second reason is currently this represents a loss of functionality from the buffer type in python2. In porting code using the buffer type in python2 to python3, you get a very unhelpful "NotImplementedError" with no description when trying to slice a memoryview. There is no workaround but to call tobytes() and copy the data in memory to an object that supports slicing, but for very large objects this defeats the primary purpose of using buffers in the first place, which is to avoid memory copies.
History
Date User Action Args
2014年02月08日 01:45:11undercoveridiotsetrecipients: + undercoveridiot, teoliphant, ncoghlan, belopolsky, pitrou, pv, skrah, DLowell
2014年02月08日 01:45:10undercoveridiotsetmessageid: <1391823910.86.0.72846464747.issue14130@psf.upfronthosting.co.za>
2014年02月08日 01:45:10undercoveridiotlinkissue14130 messages
2014年02月08日 01:45:09undercoveridiotcreate

AltStyle によって変換されたページ (->オリジナル) /