summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-02-21 13:48:11 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-02-21 14:43:30 -0700
commit4395dc7de644adfc27ae9bf9dfb4acb8c9c8b8c0 (patch)
treee8b877ae5cb78cfc18c3a014f8c1031c15073886 /doc
parentf91adb919337db043209e32a2425e0b1fa4b5b44 (diff)
downloadnumpy-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]
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.12.0-notes.rst12
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~