[Numpy-svn] [numpy/numpy] 933465: PY24: Use sys.version_info[0] instead of sys.versi...

GitHub noreply at github.com
Mon Mar 19 17:01:53 EDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 933465a1c07f4aed6b9211816cf0c66aed19ad94
      https://github.com/numpy/numpy/commit/933465a1c07f4aed6b9211816cf0c66aed19ad94
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-03-18 (Sun, 18 Mar 2012)

  Changed paths:
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  PY24: Use sys.version_info[0] instead of sys.version_info.major.


  Commit: 850e2ab573d7fac171a364d68371dc57b92112fc
      https://github.com/numpy/numpy/commit/850e2ab573d7fac171a364d68371dc57b92112fc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-03-18 (Sun, 18 Mar 2012)

  Changed paths:
    M numpy/core/tests/test_dtype.py
  M numpy/core/tests/test_nditer.py

  Log Message:
  -----------
  PY24: Use TypeError instead of AttributeError.

Python 2.4 raises TypeError instead of AttributeError when an
attempt is made to delete a non-writable attribute.


  Commit: c4c0e9851b9f75cfa4448bd87669c005c2a661ad
      https://github.com/numpy/numpy/commit/c4c0e9851b9f75cfa4448bd87669c005c2a661ad
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-03-18 (Sun, 18 Mar 2012)

  Changed paths:
    M numpy/core/numeric.py

  Log Message:
  -----------
  PY24: Ignore invalid in allclose and isclose.

I'm sure this is the right fix. Later versions of python don't need this
fix and it may be that there is a better knob to turn.


  Commit: 88da562d1c02b2c1803b4bfb3fc81ba1470e0d5c
      https://github.com/numpy/numpy/commit/88da562d1c02b2c1803b4bfb3fc81ba1470e0d5c
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-03-18 (Sun, 18 Mar 2012)

  Changed paths:
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  DOC: Fix documentation misstatement


  Commit: 3503c5f40af552692c855e10a95730480d3251f2
      https://github.com/numpy/numpy/commit/3503c5f40af552692c855e10a95730480d3251f2
  Author: Ralf Gommers <ralf.gommers at googlemail.com>
  Date:   2012-03-19 (Mon, 19 Mar 2012)

  Changed paths:
    M numpy/core/numeric.py
  M numpy/core/tests/test_dtype.py
  M numpy/core/tests/test_nditer.py
  M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #236 from charris/fixes-2.4

Fixes all tests with Python 2.4 and closes #2071.


Compare: https://github.com/numpy/numpy/compare/8e4756c...3503c5f


More information about the Numpy-svn mailing list