[Numpy-tickets] [NumPy] #335: '()type' not allowed in creating dtypes

NumPy numpy-tickets at scipy.net
Thu Oct 12 05:45:19 CDT 2006


#335: '()type' not allowed in creating dtypes
--------------------+-------------------------------------------------------
 Reporter:  faltet  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:          
Component:  Other   |     Version:  devel   
 Severity:  normal  |    Keywords:          
--------------------+-------------------------------------------------------
 Hi,

 {{{
 In [12]:numpy.dtype([('col1', '(1,)i4')])
 Out[12]:dtype([('col1', '<i4', (1,))])
 In [13]:numpy.dtype([('col1', '1i4')])
 Out[13]:dtype([('col1', '<i4')])
 In [14]:numpy.dtype([('col1', '()i4')])
 '()i4'---------------------------------------------------------------------------
 exceptions.TypeError                                 Traceback (most
 recent call last)

 /home/faltet/python.nobackup/numpy/<ipython console>

 TypeError: data type not understood

 }}}

 The statement 14 used to work until last night, so this might be a side
 effect of the
 changeset:3309.

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


More information about the Numpy-tickets mailing list