Skip to content

Commit

Permalink
DOC: Document changes to ma.core._check_fill_value in release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
charris committed Mar 28, 2014
1 parent 06aafa5 commit 92a0a2c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/release/1.9.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ ndarray.tofile exception type
All ``tofile`` exceptions are now ``IOError``, some were previously
``ValueError``.

Invalid fill value exceptions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Two changes to numpy.ma.core._check_fill_value:

* When the fill value is a string and the array type is not one of
'OSUV', TypeError is raised instead of the default fill value being used.

* When the fill value overflows the array type, TypeError is raised instead
of OverflowError.


The ``doc/swig`` directory moved
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``doc/swig`` directory has been moved to ``tools/swig``.
Expand Down

0 comments on commit 92a0a2c

Please sign in to comment.