[Numpy-svn] [numpy/numpy] baeaea: 2to3:DEP: Remove interactive setup and gnu compile...

GitHub noreply@github....
Tue Mar 5 14:20:13 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: baeaeac6885d67238321101863a7753d366c535e
      https://github.com/numpy/numpy/commit/baeaeac6885d67238321101863a7753d366c535e
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M numpy/distutils/core.py
    M numpy/distutils/fcompiler/gnu.py
    R numpy/distutils/interactive.py
    M tools/py3tool.py

  Log Message:
  -----------
  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


  Commit: 9311fb7e861e2c8eb686abded01c059b49f0b5e4
      https://github.com/numpy/numpy/commit/9311fb7e861e2c8eb686abded01c059b49f0b5e4
  Author: njsmith <njs@pobox.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M numpy/distutils/core.py
    M numpy/distutils/fcompiler/gnu.py
    R numpy/distutils/interactive.py
    M tools/py3tool.py

  Log Message:
  -----------
  Merge pull request #3120 from charris/2to3-remove-raw_input

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


Compare: https://github.com/numpy/numpy/compare/3ba223e867dd...9311fb7e861e


More information about the Numpy-svn mailing list