[Numpy-discussion] bug in dtype.__eq__ method ?

Tiziano Zito opossumnano@gmail....
Mon Aug 23 11:50:09 CDT 2010


hi all, 
we just noticed the following weird thing:

$ python
Python 2.6.6rc2 (r266rc2:84114, Aug 18 2010, 07:33:44) 
[GCC 4.4.5 20100816 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.version.version
'2.0.0.dev8469'
>>> numpy.dtype('float64') == None
True
>>> numpy.dtype('float32') == None
False

is this a bug in the dtype.__eq__ method?

ciao,
tiziano



More information about the NumPy-Discussion mailing list