[Numpy-svn] [numpy/numpy] d083c2: 2to3: Skip `funcattrs` fixer.

GitHub noreply at github.com
Thu Apr 11 15:59:45 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: d083c2992c170972cc4623d5d4e00ade90cf344b
      https://github.com/numpy/numpy/commit/d083c2992c170972cc4623d5d4e00ade90cf344b
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-04-11 (Thu, 11 Apr 2013)

  Changed paths:
    M tools/py3tool.py

  Log Message:
  -----------
  2to3: Skip `funcattrs` fixer.

In Python 3 the func.func_name attribute is replaced by the
func.__name__ attribute. The only file affected by this is
doc/sphinxext/numpydoc/phantom_import.py, and there its use
is already version dependent.

Closes #3054.


  Commit: 2e4ad6e2029669202ef0563f14de6eed9bd695a7
      https://github.com/numpy/numpy/commit/2e4ad6e2029669202ef0563f14de6eed9bd695a7
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2013-04-11 (Thu, 11 Apr 2013)

  Changed paths:
    M tools/py3tool.py

  Log Message:
  -----------
  Merge pull request #3227 from charris/2to3-apply-funcattrs

2to3: Skip `funcattrs` fixer.


Compare: https://github.com/numpy/numpy/compare/b9232f34bfb5...2e4ad6e20296


More information about the Numpy-svn mailing list