Merge pull request #3335 from juliantaylor/nanmedian

ENH: improve nanmedian performance
DOC: list BLAS functions by level

[ci skip]
Merge pull request #3380 from ev-br/blas_docs

DOC: list BLAS functions by level
BLD: generate .tar.xz when running ``paver sdist``.
Merge branch 'pr/3278' into master.

Review at https://github.com/scipy/scipy/pull/3278
Merge branch 'master' into linprog
TST: test if fix for #2152 works
ENH: sparse/lil: minor improvements in LIL fancy indexing

As per review comments:

- explain and rename prepare_index_arrays
- indicate out-of-bounds column indices
- faster insertion in lil_fancy_get
- explain reason for preferring isinstance in scalar fast paths
Merge pull request #3307 from endolith/patch-3

DOC: add note about different ba forms in tf2zpk
MAINT: use implementation from scipy.stats in scipy.stats.mstats for gmean and hmean

Closes gh-3196.
Merge branch 'pr/3302' into master.

Review at https://github.com/scipy/scipy/pull/3302
Merge pull request #3222 from richardtsai/nctdtr_inf_loop

BUG: special: limit input ranges in special.nctdtr

There seems to be no efficient algorithm to calculate the
PDF of the noncentral t distribution in high accuracy when
the noncentrality parameter is large. The limitations will help
avoid overflows and give a reasonable approximation under
practical conditions.

This also avoids the code getting stuck in an infinite loop.
Merge pull request #3356 from pv/lil-speed-cy

ENH: sparse: speed up LIL indexing + assignment via Cython
MAINT: replace np.isinf(x) & (x>0) -> np.isposinf(x) to avoid RuntimeWarning
BLD: fix Bento build for addition of sparse._csparsetools extension.
TST: ndimage: close file obj in test
TST: remove usage of ``np.set_printoptions`` in sparse test.

Closes https://github.com/numpy/numpy/issues/644
TST: misc: add test for imsave
Merge pull request #3124 from pr-3124

ENH: misc: File object support for imread and imsave
Merge pull request #3381 from argriffing/testutils-signed-inf

MAINT: replace np.isinf(x) & (x>0) -> np.isposinf(x) to avoid RuntimeWarning