diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-02-21 13:48:11 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-02-21 14:43:30 -0700 |
commit | 4395dc7de644adfc27ae9bf9dfb4acb8c9c8b8c0 (patch) | |
tree | e8b877ae5cb78cfc18c3a014f8c1031c15073886 | |
parent | f91adb919337db043209e32a2425e0b1fa4b5b44 (diff) | |
download | numpy-4395dc7de644adfc27ae9bf9dfb4acb8c9c8b8c0.tar.gz |
DOC: Update 1.12.0 release notes to mention indexing errors.
Indexing deprecated in Numpy 1.11.0 raises errors in Numpy 1.12.0.
[ci skip]
-rw-r--r-- | doc/release/1.12.0-notes.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst index 09f94141c..85b10cd45 100644 --- a/doc/release/1.12.0-notes.rst +++ b/doc/release/1.12.0-notes.rst @@ -23,6 +23,18 @@ Future Changes Compatibility notes =================== +DeprecationWarning to error +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Indexing with floats raises ``IndexError``, + e.g., a[0, 0.0]. +* Indexing with non-integer array_like raises ``IndexError``, + e.g., ``a['1', '2']`` +* Indexing with multiple ellipsis raises ``IndexError``, + e.g., ``a[..., ...]``. +* Non-integers used as index values raise ``TypeError``, + e.g., in ``reshape``, ``take``, and specifying reduce axis. + Relaxed stride checking is the default ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |