[Numpy-svn] [numpy/numpy] 8b2e6b: BUG: Fix ticket #1588/gh issue #398, refcount erro...

GitHub noreply@github....
Fri Aug 31 17:46:43 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 8b2e6bed904415006d59344b27a0b23b35fab9ca
      https://github.com/numpy/numpy/commit/8b2e6bed904415006d59344b27a0b23b35fab9ca
  Author: Mark Wiebe <mwwiebe@gmail.com>
  Date:   2012-08-31 (Fri, 31 Aug 2012)

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

  Log Message:
  -----------
  BUG: Fix ticket #1588/gh issue #398, refcount error in clip

This patch enforces a strict dichotomy for the variables 'indescr'
and 'newdescr', so they are either NULL, or they own a reference.
Following the consequences of this allowed the reference error
to be tracked down.


  Commit: 103988055053f7a30083fd28c0887a5f2922a67c
      https://github.com/numpy/numpy/commit/103988055053f7a30083fd28c0887a5f2922a67c
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2012-08-31 (Fri, 31 Aug 2012)

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

  Log Message:
  -----------
  BUG: Add a test for Ticket #1588

The bug was fixed by the previous patch.


  Commit: e60c70d7ca5dbe45860c44673ddab02d47770155
      https://github.com/numpy/numpy/commit/e60c70d7ca5dbe45860c44673ddab02d47770155
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2012-08-31 (Fri, 31 Aug 2012)

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

  Log Message:
  -----------
  Merge pull request #405 from certik/pr400_fix

BUG: Fix ticket #1588/gh issue #398, refcount error in clip


Compare: https://github.com/numpy/numpy/compare/8c75aa01e2f4...e60c70d7ca5d


More information about the Numpy-svn mailing list