[Numpy-svn] [numpy/numpy] 3eb219: BUG: Fix bugs in unused code paths.

GitHub noreply at github.com
Sat Aug 23 09:43:55 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 3eb219fd97200282b6aed9fe760e843d4916bc06
      https://github.com/numpy/numpy/commit/3eb219fd97200282b6aed9fe760e843d4916bc06
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M numpy/compat/_inspect.py
    M numpy/compat/tests/test_compat.py

  Log Message:
  -----------
  BUG: Fix bugs in unused code paths.

The `getargspec` needed to import the disassembler to support parsing
tuple arguments. Since numpy never uses those, the corresponding code
is deleted and an TypeError raised if such arguments are encountered.

Also fix the unused formatargs function so it does not require the
string module.


  Commit: 3d7438a9f0c93c517ab9909e17c79c433d823b30
      https://github.com/numpy/numpy/commit/3d7438a9f0c93c517ab9909e17c79c433d823b30
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M numpy/compat/py3k.py
    M numpy/compat/setup.py

  Log Message:
  -----------
  STY: Minor PEP8 fixes.


  Commit: 5ce8e067508ff1fed04b454b1559355aaaea7891
      https://github.com/numpy/numpy/commit/5ce8e067508ff1fed04b454b1559355aaaea7891
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-08-23 (Sat, 23 Aug 2014)

  Changed paths:
    M numpy/compat/_inspect.py
    M numpy/compat/py3k.py
    M numpy/compat/setup.py
    M numpy/compat/tests/test_compat.py

  Log Message:
  -----------
  Merge pull request #4941 from charris/fix-numpy-compat-_inspect

Fix numpy compat  _inspect


Compare: https://github.com/numpy/numpy/compare/15cd639932ba...5ce8e067508f


More information about the Numpy-svn mailing list