[Numpy-svn] [numpy/numpy] df1786: BUG: Revert some import * fixes in f2py.

GitHub noreply at github.com
Mon Oct 26 20:30:54 EDT 2015


  Branch: refs/heads/maintenance/1.10.x
  Home:   https://github.com/numpy/numpy
  Commit: df1786ff8ca9e2175e1db335f904d998926fdfad
      https://github.com/numpy/numpy/commit/df1786ff8ca9e2175e1db335f904d998926fdfad
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-10-26 (Mon, 26 Oct 2015)

  Changed paths:
    M numpy/f2py/capi_maps.py
    M numpy/f2py/crackfortran.py
    M numpy/f2py/f90mod_rules.py

  Log Message:
  -----------
  BUG: Revert some import * fixes in f2py.

The files

* capi_maps.py
* crackfortran.py
* f90mod_rules.py

previously used `from .auxfuncs import *` and also called `eval`
without an explicit enviroment. An attempt to use explicit imports
led to errors, and because static code analysis in not sufficient
to determine what functions need to be imported, it is safest to
continue using `import *` pending a major refactoring of f2py.

Closes #6563.


  Commit: e0ca6c379da3ac83e67fce5722bab5d5757325de
      https://github.com/numpy/numpy/commit/e0ca6c379da3ac83e67fce5722bab5d5757325de
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-10-26 (Mon, 26 Oct 2015)

  Changed paths:
    M numpy/f2py/capi_maps.py
    M numpy/f2py/crackfortran.py
    M numpy/f2py/f90mod_rules.py

  Log Message:
  -----------
  Merge pull request #6568 from charris/backport-6567

Backport #6567


Compare: https://github.com/numpy/numpy/compare/329de93487c5...e0ca6c379da3


More information about the Numpy-svn mailing list