Comment 2 for bug 263781

Revision history for this message
MKrause (mrkrause-gmail) wrote :

I can confirm that this is a 32/64 bit problem.

On 32-bit karmic 9.10 (using Numeric 24.2, python 2.6.4), I get the expected behavior:
>>> Numeric.arange(0,3)[1:]
array([1, 2])
>>> Numeric.arange(0,3)[1::]
array([1, 2])

Using the same versions on 64-bit karmic/9.10, I get the following:
>> Numeric.arange(0,3)[1:] #This gives the wrong answer
zeros((0,), 'l')
>>> Numeric.arange(0,3)[1::] #This seems to work
array([1, 2])