numarray index slicing doesn't work properly

Bug #120280 reported by N3ug3
2
Affects Status Importance Assigned to Milestone
python-numarray (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: python-numarray

Index slicing of numarray generated arrays returns error arrays and incorrect shape. The function S = F[m:n] is supposed to return S as the slice of F from element m to element n-1 with s.shape=n-m. There are no return errors during the operation, but S.shape=n and any subsequent call of S return an error.

Revision history for this message
Matthias Klose (doko) wrote :

python-numarray is not developed anymore. Please could you recheck with python-numpy and attach a testcase?

Changed in python-numarray:
status: New → Incomplete
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in python-numarray:
status: Incomplete → Invalid
Revision history for this message
Kirill Müller (krlmlr) wrote :

Confirmed for Python 2.5 for numarray versions: 1.2.3, 1.3.3, 1.5.1, 1.5.2.

If you use Python 2.4 instead, everything works fine. (numarray version tested: 1.5.2) Use virtualenv to install and use separate python environments.

Changed in python-numarray (Ubuntu):
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.