[SciPy-dev] are arrays hashable?

Travis Oliphant oliphant at ee.byu.edu
Tue Sep 20 14:50:05 CDT 2005

Alan G Isaac wrote:

>A function that used to work fine with SciPy arrays 
>now chokes on the new scipy.base, claiming that 
>the new arrays are an unhashable type. 
>For illustration only: 
>>>>from scipy.base import * 
>>>>d = arange(11) 
>Traceback (most recent call last): 
>  File "<stdin>", line 1, in ? 
>TypeError: unhashable type 
>Alan Isaac
>PS I'm using the first announced Windows binary. 

Thanks for the feedback, Alan (and Robert).

If this used to work, it should still work.

Yes, the new array scalars should be hashable (because they are 
immutable).  I've probably overlooked something.  I'll look into it.


More information about the Scipy-dev mailing list