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:23skrahsetrecipients: + skrah, pitrou, rhansen, seberg
2015-01-31 17:53:23skrahsetmessageid: <1422726803.1.0.67307458532.issue23352@psf.upfronthosting.co.za>
2015-01-31 17:53:23skrahlinkissue23352 messages
2015-01-31 17:53:22skrahcreate