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

GitHub noreply at github.com
Mon Oct 26 18:47:56 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 83d5f9a331543fa0748708972a5e6b7c5dcbcb03
      https://github.com/numpy/numpy/commit/83d5f9a331543fa0748708972a5e6b7c5dcbcb03
  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: 2962abccf92d8c4cf5552de2add81a460fd31c8a
      https://github.com/numpy/numpy/commit/2962abccf92d8c4cf5552de2add81a460fd31c8a
  Author: Nathaniel J. Smith <njs at pobox.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 #6567 from charris/fix-f2py-imports

BUG: Revert some import * fixes in f2py.


Compare: https://github.com/numpy/numpy/compare/acc9f5729d90...2962abccf92d


More information about the Numpy-svn mailing list