[Numpy-svn] [numpy/numpy] 7bd52d: BUG: Fix failed import of mlab.

GitHub noreply at github.com
Fri Sep 27 13:32:47 EDT 2013


  Branch: refs/heads/maintenance/1.8.x
  Home:   https://github.com/numpy/numpy
  Commit: 7bd52d934e5b72b75d3c599a14fb3899243262b7
      https://github.com/numpy/numpy/commit/7bd52d934e5b72b75d3c599a14fb3899243262b7
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M numpy/oldnumeric/mlab.py
    M numpy/oldnumeric/tests/test_regression.py

  Log Message:
  -----------
  BUG: Fix failed import of mlab.

Fix imports in the numpy/oldnumeric/mlab.py module.  The problem was
that the module used imports of the form

from . import compat

which do not work as '.' is apparently undefined when the module import
is attempted. The fix is ugly, but it works and the oldnumeric module is
going away in 1.9.

Closes #3803.


  Commit: e20a2bbfad2c26af70179c0e68020a44bb7c72cc
      https://github.com/numpy/numpy/commit/e20a2bbfad2c26af70179c0e68020a44bb7c72cc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M numpy/oldnumeric/mlab.py
    M numpy/oldnumeric/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #3805 from charris/fix-mlab-import

Fix mlab import


Compare: https://github.com/numpy/numpy/compare/5a0d09cc8abd...e20a2bbfad2c


More information about the Numpy-svn mailing list