[Numpy-svn] [numpy/numpy] 7a05c9: BUG: Temporary fix for str(mvoid) for object field...

GitHub noreply at github.com
Mon May 23 13:38:28 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 7a05c91277e2e970cccf95c999a7159893b42a92
      https://github.com/numpy/numpy/commit/7a05c91277e2e970cccf95c999a7159893b42a92
  Author: Allan Haldane <allan.haldane at gmail.com>
  Date:   2016-05-22 (Sun, 22 May 2016)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  BUG: Temporary fix for str(mvoid) for object field types

Fixes #7493, using a temporary hack, to be properly fixed later
(eg with #6053)

Printing a Masked-Void instance broke if the instance has a field of
Object dtype because assignment involving structured dtypes with objects
doesn't work. Fix is to use dtype-transfer code which avoid the bug.


  Commit: 313a9b20e51bc0adb2ac56a2d4ac702dcb8c21fa
      https://github.com/numpy/numpy/commit/313a9b20e51bc0adb2ac56a2d4ac702dcb8c21fa
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  Merge pull request #7659 from ahaldane/fix_7493

BUG: Temporary fix for str(mvoid) for object field types


Compare: https://github.com/numpy/numpy/compare/25e3ebf4def5...313a9b20e51b


More information about the Numpy-svn mailing list