ENH: added parameter to use periodic x-coordinates
DOC: Updated from numeric doc to indicate where axis can also be a tuple of ints, i.e. axes, over which to perform the given operation
MAINT: Remove use of compiler module.

The ast module was added in Python 2.6 as a replacement for the compiler
module. As we no longer support Python versions < 2.6, all uses of the
compiler module can be removed.
DOC: core: contents of newly allocated space in memmap

Fixes #5157.
Merge pull request #5176 from larsmans/memmap-doc

DOC: core: contents of newly allocated space in memmap
BUG: Make python2 *.npy files readable in python3.

The Python2 generated file had long integer literals like '1L' that
broke in Python3. The fix here is to filter out the 'L' and let
safe_eval take care of the integer type in converting the string.

The fix here comes from Nathaniel Smith with a few added fixups.

Closes #5170.
TST: Add tests for Python2, Python3 *.npy compatibility.
Merge pull request #5178 from charris/fix-npz-header-incompatibility

Fix npz header incompatibility
BUG: Fix writing of intrinsic long integers in python2 npy files.

This only happens when C long is smaller than npy_intp, in particular,
on 64 bit windows. The 'L' suffix is not needed as long as safe_eval
is used to recover the values, and the long intrinsic causes problems
for python3.

The python3 read side has been fixed, but we might as well fix the
problem at the root as well.
BUG: fix nanmedian on arrays containing inf

There are two issues:
A masked divide of an infinite value is a masked value which means one
can't use np.ma.mean to compute the median as infinity division is well
defined.
This behaviour seems wrong to me but it also looks intentional so
changing it is not appropriate for a bugfix release.

The second issue is that the ordering of the sorted masked array is
undefined for equal values, the sorting considers infinity the largest
floating point value which is not correct in respect to sorting where
nan is considered larger. This is fixed by changing the
minimum_fill_value to nan for float data in the masked sorts.

Closes gh-5138
Add examples for intersect1d and union1d of more than two arrays.

The approach was suggested by Jaime Frio in issue #5179.
Merge pull request #5189 from cbrueffer/setops

Add examples for intersect1d and union1d of more than two arrays.
Merge pull request #5183 from charris/fix-npy-header-write

BUG: Fix writing of intrinsic long integers in python2 npy files.
BLD: try linking a file if compile long double repr detection fails

When compiler uses link time optimization it will not emit the binary
representation of the long double during linking. This prevents building
numpy with -flto.
To avoid this try linking the object when the compile detection failed.
With this change numpy can be built with link time optimization with 4 worker
processes using following command:

CC='gcc -fno-fat-lto-objects -flto=4 -fuse-linker-plugin -O3' \
LDSHARED='gcc -fno-fat-lto-objects -flto=4 -fuse-linker-plugin -shared
-O3' AR=gcc-ar \
python setup.py build_ext

See also:
https://www.mail-archive.com/numpy-discussion@scipy.org/msg45535.html

Should also work with icc's -ipo switch (probably closes gh-4992)
BLD: change expected type sizes to 64 bit

64 bit is more common these days, so switch the expected type sizes to
values common on this platform. This removes a few compile tests. The
expected sizes are just hints and do not have to be correct.
BLD: fix expected size argument for complex types

The caller was passing a list of lists instead of a list with its
entries doubled. Removes the binary type search for most if not all
platforms.
MAINT: remove obsolete version checks

minimum requirement is python2.6, this allows removing a couple 2.3 and
2.4 checks.
Merge pull request #5191 from juliantaylor/config-maint

size and version check maintenance
Merge pull request #5177 from charris/do-not-use-compiler-module

MAINT: Remove use of compiler module.
MAINT: Use ast.literal_eval in safe_eval.

This does what is needed now that the compiler module is no longer
used.