[NumPy-Tickets] [NumPy] #1711: Bad slice indices / missing function '_resizebuf' in numpy.numarray.functions module

NumPy Trac numpy-tickets@scipy....
Thu Jan 13 17:55:39 CST 2011


#1711: Bad slice indices / missing function '_resizebuf' in
numpy.numarray.functions module
----------------------------+-----------------------------------------------
 Reporter:  phensley        |       Owner:  somebody   
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  Unscheduled
Component:  numpy.numarray  |     Version:  1.5.0      
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Issues:

  1. some slice indices are floats when they should be ints.
  2. the function '_resizebuf' is missing.

 The bug appears to be present in the versions I've examined: 1.3.0, 1.4.1
 and 1.5.1.  I'm attaching a patch which fixed the issue for me.

 I've tested the patch against 1.3.0.  It also applies clean against 1.4.1,
 and against 1.5.1 with 3 lines offset, but I haven't personally tested
 either of these versions.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1711>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list