BUG: Properly parse ufunc methods with PyUFunc_CheckOverride.
BUG: Fix and add ufunc override capabilities to ufunc methods.
TST: Add tests for ufunc.method overrides.
BUG, TST: Fix tests of ma.count return type.

The masked array count method was fixed to use np.intp when doing sums.
The return type is always np.intp except for count(arr, axis=None) when
arr has no mask, in which case the return type is that of ndarray.size.

The test errors were noted in #4698.
BUG: searchsorted fails if sorter is not of type np.intp fixes #4698

The array being passed to the search function was not the one converted
to NPY_INTP, so it only worked if it was of that type to begin with.
Merge pull request #4708 from jaimefrio/sorter-bug

BUG: searchsorted fails if sorter is not of type np.intp fixes #4698
Merge pull request #4699 from charris/fix-ma.count-return-type-check

BUG, TST: Fix tests of ma.count return type.
BUG: core: allow scalar type richcompare to call ndarray-subclass methods

This makes the scalar richcmp behave exactly as
"array(self) <op> other". The difference comes in when "other" is an ndarray
subclass, in which case this change allows the subclass to override the
comparison operations via usual Python binop dispatch rules.
BUG: Fix string to int64 conversion on 32-bit platforms

closes gh-4575
Merge pull request #4711 from pv/scalar-richcmp-fix

BUG: core: allow scalar type richcompare to call ndarray-subclass methods
Merge pull request #4712 from juliantaylor/strtoll

BUG: Fix string to uint64 conversion on 32-bit platforms
BUG: reject too large seeds to RandomState

mtrand accepts seeds larger than 32 bit but silently truncates them back
to 32 bit. This can lead to accidentally getting the same random stream
for two different seeds, e.g. 1 and 1 + 2**40.
Merge pull request #4676 from juliantaylor/rand-seed-lim

BUG: reject too large seeds to RandomState
ENH: Add the scipy NumpyVersion class.

The class is in numpy/lib/_version.py and can be used to compare
numpy versions when the version goes to double digits.
Changing EPD to Canopy
Merge pull request #4716 from brettrmurphy/patch-1

Changing EPD to Canopy
Merge pull request #4626 from cowlicks/ufunc-override-methods

Update ufunc override to work properly with ufunc methods.
ENH: avoid keyword arguments for some ufunc.reduce wrappers

PyArg_ParseTupleAndKeywords is pretty slow for keywords as it needs to
create python strings first. Using positional arguments avoids this and
gains 15-20% performance for small reductions.
TST: reduce memory usage of fft test

tests should not use more than 500 MB of memory, this one uses more than
a GB. Also it didn't join its threads.
Merge pull request #4186 from juliantaylor/reduce-opt

Improve small reduction performance