ENH: ma.asarray() and ma.asanyarray() will pass through input of the correct type.

If x is of type MaskedArray for ma.asarray(x) or any subtype of
MaskedArray for ma.asanyarray(x), these functions will simply return x.
This makes them consistent with their numpy counterparts.

Closes gh-4043.
BUG: Fixed mask_rowcols().

Previous implementation relied on ma.asarray() to always create
a new object.

See gh-4043.
Fix histogramdd treatment of events at rightmost binedge

Fixes Github issue #4266
TST: avoid opening files twice which doesn't work on windows
DOC: remove mktemp mention from f2py manpage
BUG: Fix typo in f2py/cfuncs.py.

Replace "insinged_long_long" by "unsigned_long_long". Patch due to trac
user pepijndevos.

Closes #636.
BUG: Make interp return NaN at NaN interpolation points.

A NaN interpolation point was interpreted as out of bounds on the left
side, hence the value of the left parameter in the function call was
returned.

>>> np.interp(np.nan, [-10, 10], [-2, 2])
-2.0

NaN is a better choice.

Closes #605.
Merge pull request #4300 from charris/fix-gh-636

BUG: Fix typo in f2py/cfuncs.py.
DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck.

Found by trac user komnomnomnom.

Closes #588.
BUG: #4256: f2py, PyString_FromStringAndSize is undefined in Python3.

Use PyUString_FromStringAndSize defined in npy_3kcompat instead. Not
using bytes may cause some problems, but strings seem like a better
choice. As modules generated with current f2py error out, this
particular use is not common and we are free to choose.

Closes #4256.
DOC: Document that fliplr only works on 2-D arrays.

Docstring claimed 2-D was not required, but it is. Fix that.

Closes #3332.
Merge pull request #4304 from charris/fix-gh-3332

DOC: Document that fliplr only works on 2-D arrays.
Merge pull request #4299 from juliantaylor/win-tempfile-fix

Windows tempfile fix
Mention `compress` in `take`'s See Also docstring

closes #3620
Merge pull request #4303 from charris/fix-gh-588

DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck.
Update c-api.array.rst

Add a note explaining the ``out`` parameter of some functions.
BUG: #2408, Fix f2py Python 3 error message string bug.

The original was generating an exception message and, after aliasing,
calling PyBytes_AsString on a unicode string -> error. It was also
leaking references, although that probably didn't matter in context.

The fix here is on the cheap side, just use a C string for the message
without including the extra information about the erroneous type that
led to the exception.

No test, I don't know how to evoke this error.

Closes #2408.
Merge pull request #4313 from MarcCote/master

Update c-api.array.rst
Merge pull request #4309 from venthur/master

Mention `compress` in `take`'s See Also docstring
DOC: Remove \n from strings in plot examples.

The \n occur in plot titles and mess up the generated html. An
alternative fix would be to use a raw docstring or \\n, but here
it looks simpler to just delete the problem.

Closes #4092.