[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-10-14 Thread Stefan Krah
Changes by Stefan Krah : -- assignee: skrah -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-11 Thread Stefan Krah
Stefan Krah added the comment: Thanks, Ian. It seems to me that these issues should be sorted out on the NumPy lists: memoryview is not a drop-in replacement for buffer, so it has different semantics. What might help you is that you can cast any memoryview to simple bytes without making a copy:

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-10 Thread Ian Beaver
Ian Beaver added the comment: Its not multi-dimensional slicing to get a subset of objects as in Numpy, but more the ability to slice a buffer containing a multi-dimensional array as raw bytes. Buffer objects in Python2.7 are dimensionality naive so it works fine. You were correct that I wa

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-08 Thread Stefan Krah
Stefan Krah added the comment: Ian, could you please provide an example where multi-dimensional indexing and slicing works in 2.x but not in 3.3? -- ___ Python tracker ___ __

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: (However, if you're on Python 3.2, then you'll likely need to upgrade to Python 3.3 - memoryview *does* have a lot of additional limitations in Python 3.2) -- ___ Python tracker ___

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-08 Thread Nick Coghlan
Nick Coghlan added the comment: memoryview supports slicing - it just doesn't support NumPy style *multi-dimensional* slicing (and buffer doesn't support that either). -- ___ Python tracker ___

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-07 Thread Ian Beaver
Ian Beaver added the comment: 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 curr

[issue14130] memoryview: add multi-dimensional indexing and slicing

2013-08-30 Thread Stefan Krah
Stefan Krah added the comment: I would probably work on it (it's basically implemented in _testbuffer.c), but I'm not sure if the NumPy community will actually use the feature. -- ___ Python tracker ___

[issue14130] memoryview: add multi-dimensional indexing and slicing

2013-08-01 Thread DLowell
DLowell added the comment: Is this issue still being worked on? -- nosy: +DLowell ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14130] memoryview: add multi-dimensional indexing and slicing

2012-08-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14130] memoryview: add multi-dimensional indexing and slicing

2012-02-26 Thread Stefan Krah
Changes by Stefan Krah : -- components: +Interpreter Core versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14130] memoryview: add multi-dimensional indexing and slicing

2012-02-26 Thread Stefan Krah
New submission from Stefan Krah : The PEP-3118 authors originally planned to have support for multi-dimensional indexing and slicing in memoryview. Since memoryview now already has the capabilities of multi-dimensional list representations and comparisons, this would be a nice addition to the f

[issue14130] memoryview: add multi-dimensional indexing and slicing

2012-02-26 Thread Stefan Krah
Changes by Stefan Krah : -- assignee: skrah nosy: ncoghlan, pitrou, pv, skrah, teoliphant priority: normal severity: normal stage: needs patch status: open title: memoryview: add multi-dimensional indexing and slicing type: enhancement ___ Python trac