[Numpy-tickets] [NumPy] #239: creation of object arrays not as advertised

NumPy numpy-tickets at scipy.net
Thu Aug 10 14:40:19 CDT 2006


#239: creation of object arrays not as advertised
---------------------------+------------------------------------------------
 Reporter:  stefan         |        Owner:  oliphant   
     Type:  defect         |       Status:  closed     
 Priority:  normal         |    Milestone:  1.0 Release
Component:  numpy.core     |      Version:  devel      
 Severity:  normal         |   Resolution:  fixed      
 Keywords:  object arrays  |  
---------------------------+------------------------------------------------
Changes (by oliphant):

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

Comment:

 Fixed in r2988.  A typo crept in when the switch to allow both Lists and
 tuples to be used as "dimension" indicators.  Therefore,
 array([(1,2),(3,4)],dtype=object) will actually return a 2-d array.  This
 was needed or else some tests broke.

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


More information about the Numpy-tickets mailing list