Fix histogramdd treatment of events at rightmost binedge

Fixes Github issue #4266
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.
Fix seterr example for resetting to old settings
MAINT: #2312, Make all tofile failures raise IOError.

Fix two that were raising ValueError instead.
Make some style cleanups.

Closes #2312.
DOC: Document tofile exception changes in 1.9.0 release notes.
BUG: Fix broadcasting in np.cross (solves #2624)

Changed np.cross to move the axis it's operating on to the end, not the
beginning of the shape tuple, and used rollaxis, not swapaxes, so that
normal broadcasting rules apply.
There were no tests in place, so I added some validation of results and
broadcasted shapes, including the one reported in #2624
TST: Added out of bounds axis checking to the tests.
ENH: Minimize temporary intermediate arrays using a preallocated
     output array and in-place operations.
DOC: Added 'Supports full broadcasting' note to the docstring.
TST: do not use "ignore" to filter warnings

When a warning is ignored (or raised once) in python, the warnings
module will tag on a `__warningregistry__` dictionary to be able
to filter these warnings in the future. This is tagged on to the
current context, causing leakage to later calls (this is a bit
more complex, since where the registry ends up depends on the
layers between the original caller and warner).

In short, tests should typically not use ignore but catch the
warnings to avoid changing the user experience (or errors
on duplicate test runs).

Fixes an error on duplicate test runs (does not remove all
"ignores" which may change behaviour outside tests).
Closes gh-4340
Merge pull request #4342 from seberg/issue-4340

TST: do not use "ignore" to filter warnings
BUG: get_info('openblas') does not read libraries key

The documented libraries tag in the site.cfg is not read by the configuration,
instead openblas_libs is used, this is inconsistent with atlas configuration.
So libraries first and then try openblas_libs for backward compatibility.

Also ensure check_libs returns None instead of a dict of empty lists if
nothing is found.
DOC: update openblas fork warning with fixed pthread build info
BUG: Fixes #2799
Use `np.sort` instead of `sorted` when the input is a list and no indices
are requested. Fixes #2799.
ENH: add max fastpath to partition for nan detection

Allows low overhead check for NaN via isnan(partition(d, (x, -1))[-1])
BUG: handle non integer types for multinomial/dirichlet size

Closes gh-3173
MAINT: fix a bunch of compiler warnings
Merge pull request #4349 from juliantaylor/warning-maint

MAINT: fix a bunch of compiler warnings
Merge pull request #4347 from juliantaylor/partition-max

ENH: add max fastpath to partition for nan detection
Merge pull request #4344 from jaimefrio/unique-sort

BUG: Fixes #2799
Merge pull request #4288 from nh2/fix-seterr-examples

Mistake in seterr docs?
BUG: Whitespace stripping in pep3118 format parser and early free

Closes gh-3348