Message38

Author bckfnn
Recipients
Date 2000-12-12.09:00:40
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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. 
History
Date User Action Args
2008-02-20 17:16:38adminlinkissue222800 messages
2008-02-20 17:16:38admincreate