[NumPy-Tickets] [NumPy] #1390: dtype.itemsize not working correctly

NumPy Trac numpy-tickets@scipy....
Sun Feb 7 21:20:20 CST 2010

#1390: dtype.itemsize not working correctly
 Reporter:  robitaille  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:  devel   
 Keywords:              |  
 Should the following


 not return an integer which is the number of bytes in the type? At the
 moment, it is just returning

 In [3]: np.float32.itemsize
 Out[3]: <attribute 'itemsize' of 'numpy.generic' objects>

 but in older version of NumPy, an integer was returned.

 (using r8088)

Ticket URL: <http://projects.scipy.org/numpy/ticket/1390>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list