[Numpy-svn] [numpy/numpy] a1e7be: BUG: core: PyArray_NewFromDescr needs to update fl...

noreply at github.com noreply at github.com
Thu Jun 9 11:03:56 EDT 2011


Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: a1e7be3cb49577d77831e2246f39bb80acd5a22f
    https://github.com/numpy/numpy/commit/a1e7be3cb49577d77831e2246f39bb80acd5a22f
Author: Mark Wiebe <mwiebe at enthought.com>
Date:   2011-06-09 (Thu, 09 Jun 2011)

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

Log Message:
-----------
BUG: core: PyArray_NewFromDescr needs to update flags when strides != NULL (fixes #1863

This appears to have been a longstanding bug, but has come to the
surface because PyArray_NewLikeArray uses the function with a non-NULL
strides parameter and is used more frequently then other such uses.





More information about the Numpy-svn mailing list