[Numpy-svn] [numpy/numpy] 3ef672: BUG: Fixed string representation of mvoid with mul...

GitHub noreply at github.com
Thu Nov 26 12:24:57 EST 2015


  Branch: refs/heads/maintenance/1.10.x
  Home:   https://github.com/numpy/numpy
  Commit: 3ef672e28e74445cf0460c539195e4de4cb79099
      https://github.com/numpy/numpy/commit/3ef672e28e74445cf0460c539195e4de4cb79099
  Author: Thomas Robitaille <thomas.robitaille at gmail.com>
  Date:   2015-11-26 (Thu, 26 Nov 2015)

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

  Log Message:
  -----------
  BUG: Fixed string representation of mvoid with multi-dimensional columns

This fixes a bug that caused the string representation of masked structured array rows with multi-dimensional columns to fail (numpy/numpy#6019), and includes a regression test.

Since __repr__ suffered from a similar bug, and since previously __repr__ returned the same as __str__ for mvoid, we now set __repr__ to reference the same method as __str__.


  Commit: 1f40bb0e5251a74af254d2d02aa01d40d660cfdc
      https://github.com/numpy/numpy/commit/1f40bb0e5251a74af254d2d02aa01d40d660cfdc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-11-26 (Thu, 26 Nov 2015)

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

  Log Message:
  -----------
  Merge pull request #6738 from charris/backport-6094

Backport 6094


Compare: https://github.com/numpy/numpy/compare/52e75940bc58...1f40bb0e5251


More information about the Numpy-svn mailing list