I've just made pull request 105: https://github.com/numpy/numpy/pull/105
This adds public API PyArray_MaskedCopyInto and PyArray_MaskedMoveInto, which behave analogously to the corresponding unmasked functions. To expose this with a reasonable interface, I added a function np.copyto, which takes a 'where=' parameter just like the element-wise ufuncs. One thing which needs discussion is that I've flagged 'putmask' and PyArray_PutMask as deprecated, because 'copyto' PyArray_MaskedMoveInto handle what those functions do but in a more flexible fashion. If there are any objections to deprecating 'putmask' and PyArray_PutMask, please speak up! Thanks, Mark
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion