[Numpy-svn] [numpy/numpy] 80af58: 2to3: Apply `funcattrs` fixer. Closes #3058.

GitHub noreply@github....
Thu Feb 28 13:15:11 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 80af580d76cbd18a5c91851d8b404636d8acd2a9
      https://github.com/numpy/numpy/commit/80af580d76cbd18a5c91851d8b404636d8acd2a9
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-02-28 (Thu, 28 Feb 2013)

  Changed paths:
    M doc/sphinxext/phantom_import.py
    M numpy/compat/_inspect.py
    M numpy/distutils/command/build_src.py
    M numpy/distutils/mingw32ccompiler.py
    M numpy/distutils/misc_util.py
    M numpy/lib/utils.py
    M numpy/testing/noseclasses.py

  Log Message:
  -----------
  2to3: Apply `funcattrs` fixer. Closes #3058.

This replaces the `b.func_xxxx` with newer `__xxxx__` attribute names
For example, `f.__name__`  replaces `f.func_name`


  Commit: e1c7c4df0c7afb0baff683c7e3a1f4b205d6e572
      https://github.com/numpy/numpy/commit/e1c7c4df0c7afb0baff683c7e3a1f4b205d6e572
  Author: njsmith <njs@pobox.com>
  Date:   2013-02-28 (Thu, 28 Feb 2013)

  Changed paths:
    M doc/sphinxext/phantom_import.py
    M numpy/compat/_inspect.py
    M numpy/distutils/command/build_src.py
    M numpy/distutils/mingw32ccompiler.py
    M numpy/distutils/misc_util.py
    M numpy/lib/utils.py
    M numpy/testing/noseclasses.py

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

2to3: Apply `funcattrs` fixer. Closes #3058.


Compare: https://github.com/numpy/numpy/compare/2cb5021f2110...e1c7c4df0c7a


More information about the Numpy-svn mailing list