Message235034
For the record: I'm myself guilty of accepting all-negative suboffsets
in memoryview.c (see init_slice()) and I think there's even a test for it.
However, while it's ok for a specific function to accept this
corner case, I'm not sure about is_contiguous().
People might rely on the fact that contiguous implies
suboffsets==NULL.
Sebastian, did this special case ever come up in the context of
NumPy? |
|
Date |
User |
Action |
Args |
2015-01-30 14:29:25 | skrah | set | recipients:
+ skrah, pitrou, rhansen, seberg |
2015-01-30 14:29:25 | skrah | set | messageid: <1422628165.72.0.142566121053.issue23352@psf.upfronthosting.co.za> |
2015-01-30 14:29:25 | skrah | link | issue23352 messages |
2015-01-30 14:29:25 | skrah | create | |
|