MAINT: Get rid of a ResourceWarning.

This one in numpy/distutils/system_info.py. Just keep an explicit
reference to a file, then close it.
TST: Get rid of a ResourceWarning.

I'm not sure this is the right fix, but test_closing_fid need to check
that garbage collection will close a file that goes through a bunch of
openings followed by dropping the reference. So the fix is to ignore
warnings during the test. I'd just ignore ResourceWarning, but it does
not look to be a built in warning in Python 2.7.
Merge pull request #3114 from charris/fix-resource-warnings

Fix resource warnings
2to3:DEP: Remove interactive setup and gnu compiler configuration.

These havn't been deprecated, but I think few have heard of them, much
less used them. Before this change, running setup.py without any
arguments would result in interactive help. This patch removes that
interactive help and lets setup print its usual list of commands and
options.

All the script uses of the numpy/distutils/fcompiler compilers look
quite broken to me, but I have tried to maintain compatibility with the
earlier version of gnu.py after the removal of `raw_input`.

These removals solve an incompatibility between Python3 and Python2.
The current interactive setup help uses `raw_input`, which has been
removed in python3 and replaced by `input`.  However, python2 already
has an `input` that has different semantics.  Rather than deal with
this, I think it simpler to keep both `raw_input` and `input` out of
numpy.

Closes #3063
Closes #3079
Merge pull request #3120 from charris/2to3-remove-raw_input

2to3:DEP: Remove interactive setup and gnu compiler configuration.
2to3: Remove xreadlines and replace f.readlines() by f where valid.

An open file `f` has been an iterator since python2.3 and
`f.xreadlines()` is no longer needed, so replace it with `f`. Also
replace `f.readlines()` with `f` where an iterator will do. The
replacement of `f.readlines()` is not critical because it is a list in
both python2 and python3, but the code is a bit cleaner.

Closes #3093
Merge pull request #3121 from charris/2to3-fix-for-in-f_dot_readlines

2to3: Remove xreadlines and replace f.readlines() by f where valid.
DOC: Fix typo in fft docs (the indexing variable is 'm', not 'n').
Merge pull request #3123 from maxalbert/master

Typo fix in FFT docs
DOC: Add mention of PyArray_SetBaseObject stealing a reference
Merge pull request #3130 from mwiebe/setbaseobj_doc

DOC: Add mention of PyArray_SetBaseObject stealing a reference