[Numpy-svn] [numpy/numpy] fda92e: Fix ndindex issue

GitHub noreply@github....
Tue Jan 15 15:19:34 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: fda92e20428a5434a49fe439175c7b5b583e96fc
      https://github.com/numpy/numpy/commit/fda92e20428a5434a49fe439175c7b5b583e96fc
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c

  Log Message:
  -----------
  Fix ndindex issue

Call to ndindex() with no arguments results in a ValueError exception, whereas before commit ca27396b, a call with no arguments was allowed.
Issue is due to unneeded check for shape tuple size.


  Commit: ffb8c414875a1430814c1e9938d1a58defcf516d
      https://github.com/numpy/numpy/commit/ffb8c414875a1430814c1e9938d1a58defcf516d
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M numpy/lib/tests/test_index_tricks.py

  Log Message:
  -----------
  Add test for optional size argument for ndindex


  Commit: 47161378d8e4eb892846f7b0156fa2344fd11ee2
      https://github.com/numpy/numpy/commit/47161378d8e4eb892846f7b0156fa2344fd11ee2
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

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

  Log Message:
  -----------
  Add test for __array_interface__


  Commit: dd146b6929f79fd6af27528dd4370eaebd5c57a6
      https://github.com/numpy/numpy/commit/dd146b6929f79fd6af27528dd4370eaebd5c57a6
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2013-01-09 (Wed, 09 Jan 2013)

  Changed paths:
    M numpy/lib/tests/test_index_tricks.py

  Log Message:
  -----------
  Fix the test for numpy.ndindex()


  Commit: 6d980e779c39cd398be74a52d776485f623b1994
      https://github.com/numpy/numpy/commit/6d980e779c39cd398be74a52d776485f623b1994
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M numpy/lib/index_tricks.py

  Log Message:
  -----------
  Fix ndindex for 0-d arrays.


  Commit: ae0a504b78690aafe120bf88eac65be9107b2f5b
      https://github.com/numpy/numpy/commit/ae0a504b78690aafe120bf88eac65be9107b2f5b
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M numpy/lib/index_tricks.py

  Log Message:
  -----------
  Fix the 0-d patch so it doesn't change the non 0-d iterator


  Commit: 853eae4ef4b0b4e567924c964a1663789e597538
      https://github.com/numpy/numpy/commit/853eae4ef4b0b4e567924c964a1663789e597538
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M numpy/lib/index_tricks.py

  Log Message:
  -----------
  Use super instead of direct access to inheritance.


  Commit: aef2cf73aafc9a945d88cb9464f62135b177a2f4
      https://github.com/numpy/numpy/commit/aef2cf73aafc9a945d88cb9464f62135b177a2f4
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M numpy/lib/index_tricks.py
    M numpy/lib/tests/test_index_tricks.py

  Log Message:
  -----------
  Fix the test for numpy.ndindex()
Fix ndindex for 0-d arrays.
Add tests for tuple arguments to ndindex


  Commit: d1a055b0cd5ad82106901a274d58563df4cd5070
      https://github.com/numpy/numpy/commit/d1a055b0cd5ad82106901a274d58563df4cd5070
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2013-01-10 (Thu, 10 Jan 2013)

  Changed paths:
    M numpy/lib/index_tricks.py

  Log Message:
  -----------
  Fix 0-d ndincr to have correct return value.


  Commit: ee6c66a2a71f46f02a823a8e107592ca3b76858e
      https://github.com/numpy/numpy/commit/ee6c66a2a71f46f02a823a8e107592ca3b76858e
  Author: njsmith <njs@pobox.com>
  Date:   2013-01-15 (Tue, 15 Jan 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/tests/test_multiarray.py
    M numpy/lib/index_tricks.py
    M numpy/lib/tests/test_index_tricks.py

  Log Message:
  -----------
  Merge pull request #2897 from ContinuumIO/ndindex_fix

Fix for #2895 ndindex failing


Compare: https://github.com/numpy/numpy/compare/eb109d2bbea6...ee6c66a2a71f


More information about the Numpy-svn mailing list