[Numpy-svn] [numpy/numpy] 04b89c: BUG: Fix regression of bad error/random behavior i...

GitHub noreply@github....
Wed Feb 20 08:28:47 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 04b89c63e531ee29b8a0cdb3f2c5ce410f6169b2
      https://github.com/numpy/numpy/commit/04b89c63e531ee29b8a0cdb3f2c5ce410f6169b2
  Author: Sebastian Berg <sebastian@sipsolutions.net>
  Date:   2013-02-20 (Wed, 20 Feb 2013)

  Changed paths:
    M numpy/core/src/multiarray/methods.c
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  BUG: Fix regression of bad error/random behavior in item method

Appearently .item() for arrays with size != 1 correctly returned an error
in 1.6., but failed to raise the error (due to missing return) in 1.7.


  Commit: 665a00aec896344cfb12599add600f27a5f519d3
      https://github.com/numpy/numpy/commit/665a00aec896344cfb12599add600f27a5f519d3
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-02-20 (Wed, 20 Feb 2013)

  Changed paths:
    M numpy/core/src/multiarray/methods.c
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #3006 from seberg/fix-empty-item

BUG: Fix regression of bad error/random behavior in item method


Compare: https://github.com/numpy/numpy/compare/b2ed8f73901c...665a00aec896


More information about the Numpy-svn mailing list