In writing a cython extension to work with numpy masked arrays, I needed 
to work with the mask, which is dtype('bool').  Therefore I was 
expecting to be able to use np.bool_t, in analogy to np.float_t. 
Instead I had to use np.int8_t, and cast the input to np.int8 in a 
python wrapper.  Can bool_t be added to numpy.pxd?

Thanks.

Eric
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to