Message235122
| Author |
skrah |
| Recipients |
pitrou, rhansen, seberg, skrah |
| Date |
2015年01月31日.17:53:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1422726803.1.0.67307458532.issue23352@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Prepare for a partial reversal of opinion. :)
Indexing *can* actually create all-negative suboffsets in a natural way:
>>> from _testbuffer import *
>>> nd = ndarray([1,2,3,4,5,6,7,8,9,10,11,12], shape=[3,4], flags=ND_PIL)
>>> nd.tolist()
[[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]
>>>
>>> x = nd[1]
>>> x.tolist()
[5, 6, 7, 8]
>>> x.suboffsets
(-1,)
>>>
This leaves me +-0 for the change, with the caveat that applications
might break. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年01月31日 17:53:23 | skrah | set | recipients:
+ skrah, pitrou, rhansen, seberg |
| 2015年01月31日 17:53:23 | skrah | set | messageid: <1422726803.1.0.67307458532.issue23352@psf.upfronthosting.co.za> |
| 2015年01月31日 17:53:23 | skrah | link | issue23352 messages |
| 2015年01月31日 17:53:22 | skrah | create |
|