summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-10-31 11:02:49 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-10-31 11:02:49 -0600
commit90a8ea3338ae076223485def2fbc5527cadcf84a (patch)
treefa4236d494935d210f7112074ab8189ad4c489b7 /doc
parent260474171a7e37043b566d33a9ca0f02aa53fbe8 (diff)
downloadnumpy-90a8ea3338ae076223485def2fbc5527cadcf84a.tar.gz
DOC: Update 1.11.0 release notes with np.lib.split changes.
Note that the FutureWarning has been removed and that empty arrays resulting from np.lib.split will preserve dimensions instead of always having shape (0,).
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.11.0-notes.rst19
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/release/1.11.0-notes.rst b/doc/release/1.11.0-notes.rst
index 68ee370ee..f8d3d4dbf 100644
--- a/doc/release/1.11.0-notes.rst
+++ b/doc/release/1.11.0-notes.rst
@@ -8,20 +8,22 @@ Highlights
==========
-Dropped Support:
+Dropped Support
+===============
* Bento build support and related files have been removed.
* Single file build support and related files have been removed.
-Future Changes:
+Future Changes
+==============
Compatibility notes
===================
-Deprecated to error
-~~~~~~~~~~~~~~~~~~~
+DeprecationWarning to error
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Indexing with floats raises IndexError,
e.g., a[0, 0.0].
@@ -34,6 +36,15 @@ Deprecated to error
* Non-integers used as index values raise TypeError,
e.g., in reshape, take, and specifying reduce axis.
+FutureWarning to changed behavior
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+* In ``np.lib.split`` an empty array in the result always had dimension
+ ``(0,)`` no matter the dimensions of the array being split. This
+ has been changed so that the dimensions will be preserved. A
+ ``FutureWarning`` for this change has been in place since Numpy 1.9 but,
+ due to a bug, sometimes no warning was raised and the dimensions were
+ already preserved.
C API
~~~~~