[Numpy-tickets] [NumPy] #917: allow dtype='c' in chararray.

NumPy numpy-tickets@scipy....
Wed Sep 24 00:56:26 CDT 2008

#917: allow dtype='c' in chararray.
 Reporter:  brentp  |       Owner:  somebody 
     Type:  defect  |      Status:  new      
 Priority:  normal  |   Milestone:  1.2.0    
Component:  Other   |     Version:  none     
 Severity:  normal  |    Keywords:  chararray
 currently this fails:
 np.array('abc1', dtype='c').view(np.chararray)
 because chararray checks for dtype.char in 'SUb'

 the 1 character change in the patch (+ test) allows chararray to accept
 arrays with dtype='c'.

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

More information about the Numpy-tickets mailing list