Charles R Harris wrote:

> But mixing python types and numpy types is not a good idea, they exist 
> separately and apply to different software. This may be different for 
> the buffer interface, which is likely to cross the boundary, but that is 
> an argument for being very careful on how the buffer interface is dealt 
> with in cython.
> 

Which is why an exception is thrown in this mismatch circumstance -- if 
we weren't careful, the cast would happen, which would be very bad.

-- 
Dag Sverre
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to