ENH: Added test cases to ensure the behavior of integer as it is.
There is a need to add test case which ensure and maintain the behaviour
of integer. As per pr #3567, which speed up integer scalar's operations
by avoiding the conversion of integer to NumPy Scalar.
Added test case for size of long based of os
BUG: Fix reference leak in PyArray_IntpFromIndexSequence.

This caused {ones, zeros, empty}([1]*10) to increase the reference
count of 1 by 10. Same for other numbers in the list.

Closes #3589.
TST: Add test for reference leak in zeros, ones, empty, and full.

Check that the reference counts of the  passed dimensions do not
change.
Merge pull request #3631 from charris/fix-reference-leak

Fix reference leak
BUG: Fix PyBUF_SIMPLE flag to GetBuffer.

When no strides are requested, the array must be C-contiguous,
not only if a shape was also requested.

Closes gh-3613
DOC: Update 1.8.0-notes.rst

Note that the numpydoc sphinx extensions now reside in their own
repository.
Merge pull request #3616 from seberg/buffer-pybuf_simple

BUG: Fix PyBUF_SIMPLE flag to GetBuffer.
Merge pull request #3633 from charris/update-release-notes

DOC: Update 1.8.0-notes.rst
STY: Giant whitespace cleanup.

Now is as good a time as any with open PR's at a low.
STY: Giant comma spacing fixup.

Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long
and will need to be broken at some point. OTOH, some lines were already
too long and need to be broken at some point. Now seems as good a time
as any to do this with open PRs at a minimum.
added int test for error raises
Merge pull request #3635 from charris/giant-style-cleanup

Giant style cleanup
REL: Update minor version number to 9.

Numpy 1.9.0-devel opens.
REL: Setup 1.9.0-notes.rst for master.
DEP: Make nansum return 0 for all-NaN or empty axis.

Make this happen and remove test parts dependent on numpy version
< 1.9. Fixes test failures in numpy after 1.8 branch.
Merge pull request #3636 from charris/fix-nanfunction-deprecations

DEP: Make nansum return 0 for all-NaN or empty axis.
Removing test for OS choices on long conventions
ENH: Make the ndarray diagonal method return a view.

Also remove the test_diagonal_deprecation test and add test that
checks that a view is returned and that it is not writeable.

Closes #596.
Merge pull request #3645 from charris/enable-diagonal-as-view

ENH: Make the ndarray diagonal method return a view.