diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-03-28 10:19:47 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-03-28 14:08:31 -0600 |
commit | 92a0a2c4e49474c0240da6be25680d488877109b (patch) | |
tree | f9c062af7cc646909c961f5d5a51551412737321 /doc | |
parent | 06aafa56b25ba15063b3cbc701eb67b352d1e14f (diff) | |
download | numpy-92a0a2c4e49474c0240da6be25680d488877109b.tar.gz |
DOC: Document changes to ma.core._check_fill_value in release notes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.9.0-notes.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/release/1.9.0-notes.rst b/doc/release/1.9.0-notes.rst index aa0431c6e..3183717ed 100644 --- a/doc/release/1.9.0-notes.rst +++ b/doc/release/1.9.0-notes.rst @@ -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``. |