BUG: signal: Use np.linspace instead of np.arange to fix an off-by-one error that could occur in dstep and dimpulse.
DOC: Fix unexpected indent warning.
Merge pull request #2666 from jseabold/stats-docs

DOC: Fix unexpected indent warning.
mode returned where first element is masked is first unmasked element (assuming no element is repeated)
testing mode where first element is masked and no element is repeated
BUG: fix mode in scipy.stats.mstats
TST: testing for axis=0 in scipy.stats.mstats.mode
Merge pull request #2672 from kh452/fix_mode

Fix scipy.stats.mstats.mode
MAINT: to support older versions of numpy, use scipy.special.p_roots instead of np.polynomial.legendre.leggauss
Merge pull request #2663 from WarrenWeckesser/bug-dstep-dimpulse

BUG: signal: Use np.linspace instead of np.arange to fix an off-by-one error that could occur in dstep and dimpulse.
MAINT: numpy 1.5.x compat: remove usage of np.count_nonzero
MAINT: numpy 1.5.x compat: work around usage of `casting` kw in np.can_cast.
MAINT: numpy 1.5.x compat: avoid assigning a complex number to real array.
Merge pull request #2676 from argriffing/logm-p-roots

MAINT: to support older versions of numpy, use scipy.special.p_roots ins...
MAINT: numpy 1.5.x compat: work around changed behavior of casting functions.

In 1.5.x the result of the last line gives a problem::

    >>> datsp.dtype == np.dtype('int32')
    True
    >>> np.issubdtype(np.dtype('int32'), np.int_)
    True
    >>> np.issubdtype(datsp.dtype, np.int_)
    False

Also, in 1.5.x this happens:

    >>> np.find_common_type([np.bool, np.bool], [])
    dtype('int8')

Result from 1.6.x is dtype('bool').
Update MAINTAINERS.rst.txt links on modules issues

Following this idea:

http://mail.scipy.org/pipermail/scipy-dev/2013-August/019040.html

I updtated the links so they point to the new GitHub issues tracker, instead of the old Trac.

I could not replace the RSS feed links because I could not find a direct equivalent on GitHub. I don't know if keeping them it's worth it - maybe the sooner all the references to Trac disappear, the better.
Merge pull request #2679 from Juanlu001/patch-1

Update MAINTAINERS.rst.txt links on modules issues
TST: update the ncg regression test

Allow 22 gradcalls for `ncg` instead of only 20.
Merge pull request #2678 from rgommers/numpy-151-compat

Fix incompatibilities with numpy 1.5.x.  Closes gh-2677.
Turned on fancy indexing tests for CSR