[NumPy-Tickets] [NumPy] #1436: Regression creating array from character

NumPy Trac numpy-tickets@scipy....
Sat Mar 20 13:23:20 CDT 2010


#1436: Regression creating array from character
------------------------+---------------------------------------------------
 Reporter:  rmay        |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:  2.0.0   
Component:  numpy.core  |     Version:  devel   
 Keywords:  regression  |  
------------------------+---------------------------------------------------

Comment(by rmay):

 Here's the testcase, since the formatting sucks:


 {{{
 In [1]: import numpy as np
 In [2]: v = 'm'
 In [3]: dt = np.dtype('>c')
 In [4]: a = np.asarray(v, dt)
 }}}

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


More information about the NumPy-Tickets mailing list