[Numpy-svn] [numpy/numpy] 0c1f94: BUG: Fix exceptions being swallowed by fromiter.

GitHub noreply@github....
Mon Jul 8 11:16:57 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 0c1f94dd7f946b0e2aa44e6354f6902fd38d955a
      https://github.com/numpy/numpy/commit/0c1f94dd7f946b0e2aa44e6354f6902fd38d955a
  Author: Fernando Perez <Fernando.Perez@berkeley.edu>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

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

  Log Message:
  -----------
  BUG: Fix exceptions being swallowed by fromiter.

All exceptions from underlying iterator were being collapsed into a
generic one. This allows the original exception to propagate.

Closes gh-2592.


  Commit: fa9d813be019111846a85f8312982d989b23307c
      https://github.com/numpy/numpy/commit/fa9d813be019111846a85f8312982d989b23307c
  Author: Fernando Perez <Fernando.Perez@berkeley.edu>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

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

  Log Message:
  -----------
  TST: Add tests for exceptions raised by fromiter.

This improves the testing of the edge cases.

Work done with @certik.


  Commit: f2bec652c1a3137db0e0904312fcb9fe773350ec
      https://github.com/numpy/numpy/commit/f2bec652c1a3137db0e0904312fcb9fe773350ec
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

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

  Log Message:
  -----------
  BUG: Remove xrange that slipped into test_numeric.py.


  Commit: b0f4e77643e3bd01b8108f150e284cc051ff6c4a
      https://github.com/numpy/numpy/commit/b0f4e77643e3bd01b8108f150e284cc051ff6c4a
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

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

  Log Message:
  -----------
  STY: Fix trailing whitespace and replace test doctrings by comments.


  Commit: cfe411b6cccb177003c99fb780917f97f4be38e9
      https://github.com/numpy/numpy/commit/cfe411b6cccb177003c99fb780917f97f4be38e9
  Author: njsmith <njs@pobox.com>
  Date:   2013-07-08 (Mon, 08 Jul 2013)

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

  Log Message:
  -----------
  Merge pull request #3500 from charris/fix-3592

Fix exceptions being swallowed by fromiter.


Compare: https://github.com/numpy/numpy/compare/df041a94c8bf...cfe411b6cccb


More information about the Numpy-svn mailing list