[Numpy-tickets] [NumPy] #290: Some inconsistency in 'i' typecode

NumPy numpy-tickets at scipy.net
Sun Sep 24 03:33:29 CDT 2006

#290: Some inconsistency in 'i' typecode
 Reporter:  faltet  |        Owner:  somebody
     Type:  defect  |       Status:  reopened
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:          
 Severity:  normal  |   Resolution:          
 Keywords:          |  
Comment (by faltet):

 I was wrong in my last message. I think that the real problem is that the
 data-types are saying that they are equal, but they are not the same

 >>> numpy.dtype(numpy.int_) == numpy.dtype(numpy.intc)
 >>> numpy.dtype(numpy.int_) is numpy.dtype(numpy.intc)

 And I guess this couldn't be changed because those data-types are actually
 different objects. Never mind, I'll try find a workaround for what I'm
 trying to do (although I recognize that this is fooling me quite a bit

 Sorry for the innecessary reopening.

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

More information about the Numpy-tickets mailing list