[Numpy-discussion] searchsorted bug

James Philbin philbinj at gmail.com
Thu Jan 31 12:55:18 EST 2008


> True. The problem is knowing when that is the case. The subroutine in
> question is at the bottom of the heap and don't know nothin'. IIRC, it just
> sits there and does the comparison by calling through a pointer with char*
> arguments.

What does the comparison function actually look like for the case of
dtype='|Sn'? Is there no way of sending the underlying types to the
comparison, so it can throw an exception if the two data types are not
supported?

James



More information about the NumPy-Discussion mailing list