numpy/numpy — pull request #3450 by efiring (2013-06-16 19:14:24+00:00)
Title: BUG: field assignment in masked array did not reset mask; closes #2403

The previous behavior when setting a field after indexing to
select an element was suitable for the hard mask case, but
not for the default soft mask. In addition, the _hardmask
value was not being set at all in the mvoid instance. With
this changeset, the _hardmask is passed in and __setitem__
takes it into account.

Backport of fb4edf7 from master to 1.7.x.

Conflicts:

numpy/ma/core.py