[Numpy-svn] [numpy/numpy] e12dc1: BUG: initialize op_axes when only itershape is giv...

GitHub noreply@github....
Fri Mar 1 12:38:07 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: e12dc1cf32daa3e9f19295e985b640e3a04f96ea
      https://github.com/numpy/numpy/commit/e12dc1cf32daa3e9f19295e985b640e3a04f96ea
  Author: Sebastian Berg <sebastian@sipsolutions.net>
  Date:   2013-03-01 (Fri, 01 Mar 2013)

  Changed paths:
    M numpy/core/src/multiarray/nditer_pywrap.c
    M numpy/core/tests/test_nditer.py

  Log Message:
  -----------
  BUG: initialize op_axes when only itershape is given

In this case, the initialization used the number of dimensions instead
of setting it to NULL for each operand, leading to possible segmentation
faults.


  Commit: 890ee94dd90769d303025e10d906f584088516d3
      https://github.com/numpy/numpy/commit/890ee94dd90769d303025e10d906f584088516d3
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-03-01 (Fri, 01 Mar 2013)

  Changed paths:
    M numpy/core/src/multiarray/nditer_pywrap.c
    M numpy/core/tests/test_nditer.py

  Log Message:
  -----------
  Merge pull request #3102 from seberg/nditer-fix-op_axes-initialization

BUG: initialize op_axes when only itershape is given


Compare: https://github.com/numpy/numpy/compare/d111fbdc1e7d...890ee94dd907


More information about the Numpy-svn mailing list