[Numpy-tickets] [NumPy] #302: Fancy indexing and python 2.5 issue

NumPy numpy-tickets at scipy.net
Mon Oct 2 16:15:23 CDT 2006


#302: Fancy indexing and python 2.5 issue
--------------------+-------------------------------------------------------
 Reporter:  faltet  |        Owner:  somebody
     Type:  defect  |       Status:  closed  
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:          
 Severity:  normal  |   Resolution:  fixed   
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 I suspect this is because PyIndex_Check is true for arrays and the attempt
 to get an index from a size-1 array is succeeding.  I've changed the check
 so that only 0-d arrays can be converted to an index.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/302#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list