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

GitHub noreply@github....
Tue Feb 26 14:58:47 CST 2013


  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: b84555acc91b42ec08ff1b26de57c149279fce35
      https://github.com/numpy/numpy/commit/b84555acc91b42ec08ff1b26de57c149279fce35
  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: 753bc5bb518da9d6197c924688c172be77cf95cc
      https://github.com/numpy/numpy/commit/753bc5bb518da9d6197c924688c172be77cf95cc
  Author: njsmith <njs@pobox.com>
  Date:   2013-02-26 (Tue, 26 Feb 2013)

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

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

Backport gh-3006


Compare: https://github.com/numpy/numpy/compare/4ecd0c6b6b43...753bc5bb518d


More information about the Numpy-svn mailing list