[Numpy-tickets] [NumPy] #474: Record type inconsistency between rank 0 recarrays and rank > 0 recarrays

NumPy numpy-tickets@scipy....
Thu Mar 29 14:06:23 CDT 2007


#474: Record type inconsistency between rank 0 recarrays and rank > 0 recarrays
-----------------------------------------------------------+----------------
 Reporter:  SuperElectric                                  |        Owner:  somebody
     Type:  defect                                         |       Status:  new     
 Priority:  normal                                         |    Milestone:          
Component:  numpy.core                                     |      Version:          
 Severity:  normal                                         |   Resolution:          
 Keywords:  rank, rank-0, vectorization, recarray, record  |  
-----------------------------------------------------------+----------------
Comment (by oliphant):

 This was due to general subscripting returning scalars and the getfield
 method scalars as well.

 It makes sense that 0-d arrays should return 0-d fields. Although
 returning scalars also makes sense.

 I need feedback from other users to see if a change like this is too
 disruptive for a minor release.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/474#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