Message38
I'm not sure what this example should return. When looking at NumPy, I get
Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32
>>> from Numeric import array
>>> a = array([0, 1,2,3,4,5,6,7,8])
>>> print a[::-1]
[8 7 6 5 4 3 2 1 0]
>>> print a[-100:-100:-1]
[0]
It seems like a huge negative start value is interpreted as starting at 0. Based on this, I'm going to close this bug.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:38 | admin | link | issue222800 messages |
2008-02-20 17:16:38 | admin | create | |
|