[SciPy-user] unique, sort, sortrows  David M. Kaplan
David.Kaplan@ird... Mon Jul 28 07:55:22 CDT 2008   Well, as
usual there are compromises in everything and the mgrid/ogrid
functionality is the way it currently is for some good reasons.
The first reason is that python appears to be fairly sloppy
about how it passes indexing arguments to the __getitem__
method.  It passes a tuple containing the arguments in all cases
except when it has one argument, in which case it just passes
that argument.  This means that it is hard to tell a tuple
argument from several non-tuple arguments.  For example, the
following two produce exactly the same call to __getitem__ :
(__getitem__ receives a single tuple (1,2,3)), but different
from:   (__getitem__ receives a single list = [1,2,3]).  This
seems like a bug to me, but is probably considered a feature by
somebody.  In any case, this is workable, but a bit annoying in
that tuple arguments just aren't going to work well.  The second
problem is that the current implementati