[NumPy-Tickets] [NumPy] #916: Inconsistency in dtype comparison (was: Inconsistency in type equality)

NumPy Trac numpy-tickets@scipy....
Fri Mar 4 03:40:21 CST 2011


#916: Inconsistency in dtype comparison
------------------------+---------------------------------------------------
 Reporter:  faltet      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:  none    
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by pv):

 I think the reason is that there are two `int32` type objects, one for
 LONG and one for INT --- which happen to be the same size for this
 particular platform.

 It might be possible to change the type initialization #ifdef's so that
 only one type would be initialized, and the second one would be just a
 pointer to the first one.

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


More information about the NumPy-Tickets mailing list