[Numpy-svn] [numpy/numpy] 3655b7: 2to3: Apply `raise` fixes. Closes #3077.

GitHub noreply@github....
Fri Mar 1 09:40:38 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 3655b732bd08022dab8498b44191d6c4049bc7a8
      https://github.com/numpy/numpy/commit/3655b732bd08022dab8498b44191d6c4049bc7a8
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-03-01 (Fri, 01 Mar 2013)

  Changed paths:
    M doc/numpybook/comparison/weave/filter.py
    M doc/numpybook/comparison/weave/inline.py
    M numpy/core/code_generators/generate_numpy_api.py
    M numpy/core/records.py
    M numpy/f2py/auxfuncs.py
    M numpy/lib/polynomial.py
    M numpy/ma/extras.py
    M numpy/ma/mrecords.py
    M numpy/oldnumeric/arrayfns.py
    M numpy/oldnumeric/random_array.py
    M numpy/oldnumeric/rng.py
    M tools/osxbuild/install_and_test.py

  Log Message:
  -----------
  2to3: Apply `raise` fixes. Closes #3077.

Replaces the

    raise Exception, msg:

form with

    raise Exception(msg):


  Commit: 02cfcb99bc976a0bfc39529999e2a0200fb9cc2a
      https://github.com/numpy/numpy/commit/02cfcb99bc976a0bfc39529999e2a0200fb9cc2a
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-03-01 (Fri, 01 Mar 2013)

  Changed paths:
    M doc/numpybook/comparison/weave/filter.py
    M doc/numpybook/comparison/weave/inline.py
    M numpy/core/code_generators/generate_numpy_api.py
    M numpy/core/records.py
    M numpy/f2py/auxfuncs.py
    M numpy/lib/polynomial.py
    M numpy/ma/extras.py
    M numpy/ma/mrecords.py
    M numpy/oldnumeric/arrayfns.py
    M numpy/oldnumeric/random_array.py
    M numpy/oldnumeric/rng.py
    M tools/osxbuild/install_and_test.py

  Log Message:
  -----------
  Merge branch '2to3-raise'

Use modern raise syntax for python 3 compatibility.

* 2to3-raise:
  2to3: Apply `raise` fixes. Closes #3077.


Compare: https://github.com/numpy/numpy/compare/d1e692d70da7...02cfcb99bc97


More information about the Numpy-svn mailing list