[Numpy-svn] [numpy/numpy] 06aafa: BUG: Fix for issue #3213

GitHub noreply at github.com
Fri Mar 28 19:33:13 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 06aafa56b25ba15063b3cbc701eb67b352d1e14f
      https://github.com/numpy/numpy/commit/06aafa56b25ba15063b3cbc701eb67b352d1e14f
  Author: Tim Burgess <timburgess at mac.com>
  Date:   2014-03-28 (Fri, 28 Mar 2014)

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

  Log Message:
  -----------
  BUG: Fix for issue #3213

Two changes to numpy.ma.core._check_fill_value:

1. When the fill value is a string and the array type is not one of
   'OSUV', raise TypeError instead of using the default fill value.

2. When the fill value overflows the type, raise TypeError instead
   of OverflowError.

Closes #3213.


  Commit: 92a0a2c4e49474c0240da6be25680d488877109b
      https://github.com/numpy/numpy/commit/92a0a2c4e49474c0240da6be25680d488877109b
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-03-28 (Fri, 28 Mar 2014)

  Changed paths:
    M doc/release/1.9.0-notes.rst

  Log Message:
  -----------
  DOC: Document changes to ma.core._check_fill_value in release notes.


  Commit: 7b0d0754833468b960c9dd1c8b903ad30508eb70
      https://github.com/numpy/numpy/commit/7b0d0754833468b960c9dd1c8b903ad30508eb70
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2014-03-29 (Sat, 29 Mar 2014)

  Changed paths:
    M doc/release/1.9.0-notes.rst
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  Merge pull request #4565 from charris/fill_value_fix

Raise TypeError when setting inappropriate ma fill_value


Compare: https://github.com/numpy/numpy/compare/9fc98aed1473...7b0d07548334


More information about the Numpy-svn mailing list