[Numpy-svn] [numpy/numpy] a9a470: DEP: Deprecate the oldnumeric and numarray modules...

GitHub noreply@github....
Mon Jun 10 18:13:29 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: a9a470c841eeb5f0fb2c2ae9639f6c2833f03d00
      https://github.com/numpy/numpy/commit/a9a470c841eeb5f0fb2c2ae9639f6c2833f03d00
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M numpy/__init__.py
    M numpy/numarray/__init__.py
    M numpy/oldnumeric/__init__.py
    M numpy/testing/nosetester.py
    M numpy/testing/utils.py

  Log Message:
  -----------
  DEP: Deprecate the oldnumeric and numarray modules.

The numarray and oldnumeric modules are deprecated. This is a bit tricky
as raising a DeprecationWarning on import causes an error when tests are
run. To deal with that, a ModuleDeprecationWarning class is added to
numpy and NoseTester is modified to ignore that warning during testing.

Closes #2905


  Commit: 15f2d6073badcb21c19384c77e0f150619657bd9
      https://github.com/numpy/numpy/commit/15f2d6073badcb21c19384c77e0f150619657bd9
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-06-10 (Mon, 10 Jun 2013)

  Changed paths:
    M numpy/__init__.py
    M numpy/numarray/__init__.py
    M numpy/oldnumeric/__init__.py
    M numpy/testing/nosetester.py
    M numpy/testing/utils.py

  Log Message:
  -----------
  Merge pull request #3422 from charris/deprecate-modules

DEP: Deprecate the oldnumeric and numarray modules.


Compare: https://github.com/numpy/numpy/compare/4ed88a8f9520...15f2d6073bad


More information about the Numpy-svn mailing list