numpy/numpy — pull request #3448 by efiring (2013-06-16 02:56:35+00:00)
Title: BUG: np.ma.compress treated inputs in wrong order; closes #2495

The solution here is to add a kwarg to the _frommethod initializer so that the first two input arguments to the __call__() method are optionally swapped.

A test is included.