James Philbin wrote:
> I can't fathom where the comparison functions exist in the code. It
> seems that the comparison signature is of the form (void*, void*,
> PyArrayObject*), so it doesn't seem possible at the moment to specify
> a compare function which can reason about the underlying types of the
> two void*'s. However, I think arrays of strings are a common enough
> use case that they should work as expected - would it be possible to
> extend the comparison type to accept two integers specifying the types
> of the arguments?
>   

Try out latest SVN.  It should have this problem fixed.  Look at the 
diff to see the fix (note that copies are made if the types are not 
"exactly" the same --- meaning the same length if variable types).

-Travis O.

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to