[Numpy-svn] [numpy/numpy] 4e52c4: BUG: core: Fix corner case of object array assignm...

noreply at github.com noreply at github.com
Sun Jun 19 18:44:06 EDT 2011


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

  Commit: 4e52c48bd37abdce856033f48d3ce9c0a8c5483f
      https://github.com/numpy/numpy/commit/4e52c48bd37abdce856033f48d3ce9c0a8c5483f
  Author: Mark Wiebe <mwwiebe at gmail.com>
  Date:   2011-06-19 (Sun, 19 Jun 2011)

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

  Log Message:
  -----------
  BUG: core: Fix corner case of object array assignment (#1870)

This general aspect of object arrays is fraught with errors, for
example, eval(repr(x)) produces a 2 instead of 1 dimensional array
when given the x in the first example of the bug. This fix at least
makes the result requested in the bug report work.





More information about the Numpy-svn mailing list