[Numpy-svn] [numpy/numpy] 705bf9: 2to3: Use modern exception syntax.

GitHub noreply@github....
Wed Feb 27 10:44:51 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 705bf928e1256a06019c75ee945370fbe89cdde7
      https://github.com/numpy/numpy/commit/705bf928e1256a06019c75ee945370fbe89cdde7
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-02-26 (Tue, 26 Feb 2013)

  Changed paths:
    M numpy/_import_tools.py
    M numpy/build_utils/waf.py
    M numpy/core/tests/test_half.py
    M numpy/core/tests/test_machar.py
    M numpy/core/tests/test_nditer.py
    M numpy/core/tests/test_numeric.py
    M numpy/core/tests/test_print.py
    M numpy/core/tests/test_regression.py
    M numpy/ctypeslib.py
    M numpy/distutils/interactive.py
    M numpy/distutils/system_info.py
    M numpy/f2py/capi_maps.py
    M numpy/f2py/crackfortran.py
    M numpy/f2py/diagnose.py
    M numpy/f2py/f2py2e.py
    M numpy/f2py/tests/test_array_from_pyobj.py
    M numpy/f2py/tests/util.py
    M numpy/lib/format.py
    M numpy/lib/tests/test__datasource.py
    M numpy/lib/tests/test_io.py
    M numpy/lib/utils.py
    M numpy/linalg/tests/test_linalg.py
    M numpy/ma/core.py
    M numpy/testing/numpytest.py
    M numpy/testing/utils.py
    M numpy/tests/test_ctypeslib.py

  Log Message:
  -----------
  2to3: Use modern exception syntax.

Example:  except ValueError,msg: -> except ValueError as msg:


  Commit: a369522a3920b6ef204f9b119c957b49843c03d7
      https://github.com/numpy/numpy/commit/a369522a3920b6ef204f9b119c957b49843c03d7
  Author: seberg <sebastian@sipsolutions.net>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M numpy/_import_tools.py
    M numpy/build_utils/waf.py
    M numpy/core/tests/test_half.py
    M numpy/core/tests/test_machar.py
    M numpy/core/tests/test_nditer.py
    M numpy/core/tests/test_numeric.py
    M numpy/core/tests/test_print.py
    M numpy/core/tests/test_regression.py
    M numpy/ctypeslib.py
    M numpy/distutils/interactive.py
    M numpy/distutils/system_info.py
    M numpy/f2py/capi_maps.py
    M numpy/f2py/crackfortran.py
    M numpy/f2py/diagnose.py
    M numpy/f2py/f2py2e.py
    M numpy/f2py/tests/test_array_from_pyobj.py
    M numpy/f2py/tests/util.py
    M numpy/lib/format.py
    M numpy/lib/tests/test__datasource.py
    M numpy/lib/tests/test_io.py
    M numpy/lib/utils.py
    M numpy/linalg/tests/test_linalg.py
    M numpy/ma/core.py
    M numpy/testing/numpytest.py
    M numpy/testing/utils.py
    M numpy/tests/test_ctypeslib.py

  Log Message:
  -----------
  Merge pull request #3023 from charris/2to3-except

2to3: Use modern exception syntax.


Compare: https://github.com/numpy/numpy/compare/6de7a4be70c8...a369522a3920


More information about the Numpy-svn mailing list