Francesc Altet wrote:
> So far so good, but is the next the intended behaviour?
> 
>>>> numpy.typeDict['i4']
> <type 'numpy.int32'>
>>>> numpy.typeDict['int32']
> <type 'numpy.int32'>
>>>> numpy.typeDict['i4'] == numpy.typeDict['int32']
> False
> 
> 
By way of comparison, I get (Linux/AMD 64):

In [1]: import numpy

In [2]: numpy.typeDict['i4'] == numpy.typeDict['int32']
Out[2]: True

In [3]: numpy.typeDict['i4'] is numpy.typeDict['int32']
Out[3]: True

In [4]: numpy.__version__
Out[4]: '1.0b5'


-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to