[Numpy-discussion] dtype hashes are not equal

2007-05-13 Thread Stefan van der Walt
Hi all, In the numpy.sctypes dictionary, there are two entries for uint32: In [2]: N.sctypes['uint'] Out[2]: [type 'numpy.uint8', type 'numpy.uint16', type 'numpy.uint32', type 'numpy.uint32', type 'numpy.uint64'] Comparing the dtypes of the two types gives the correct answer: In [3]: sc

Re: [Numpy-discussion] dtype hashes are not equal

2007-05-13 Thread Robert Kern
Stefan van der Walt wrote: Hi all, In the numpy.sctypes dictionary, there are two entries for uint32: In [2]: N.sctypes['uint'] Out[2]: [type 'numpy.uint8', type 'numpy.uint16', type 'numpy.uint32', type 'numpy.uint32', type 'numpy.uint64'] Comparing the dtypes of the two