[Numpy-discussion] Changing "nomask" in numpy.ma

Travis Oliphant oliphant.travis at ieee.org
Tue Jan 17 13:46:30 CST 2006


Sasha wrote:

>>>>bool_(0) is bool_(0)
>>>>        
>>>>
>False
>  
>
>>>>bool(0) is bool(0)
>>>>        
>>>>
>True
>
>Is there any reason not to intern numpy's bool_'s?
>  
>
No, it just hasn't been done.   It would be a good idea... but require 
some code in PyArray_Scalar and in the bool_new method..

-Travis





More information about the Numpy-discussion mailing list