numpy/numpy — pull request #4353 by seberg (2014-02-23 14:55:49+00:00)
Title: DEP: Deprecate boolean array indices with non-matching shape

Boolean array indices will (unless the special case is taken)
always be converted using a nonzero logic. However, for example
```
arr = np.arange(10)
index = np.array([True])
arr[index]
```
would thus work as if index is filled up with `False`. This is
a source of confusion and hardly useful in practice. Especially
if the array has more then one dimension this behaviour can
be very unexpected as it conflicts with broadcasting.