[NumPy-Tickets] [NumPy] #354: Possible inconsistency in 0-dim and scalar empty array types

NumPy Trac numpy-tickets@scipy....
Tue Mar 22 20:03:16 CDT 2011


#354: Possible inconsistency in 0-dim and scalar empty array types
------------------------+---------------------------------------------------
 Reporter:  faltet      |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  devel      
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by mwiebe):

  * type:  enhancement => defect


Comment:

 The current behavior is rather arbitrary and inconsistent. We should
 decide what is the most reasonable thing to be happening here, maybe
 strings should default to "|S8" to give a little bit of room, or maybe
 "|S0" should be accepted everywhere in a consistent manner. Chuck likes
 the "|S0" approach.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/354#comment:6>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list