summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-10-31 11:31:36 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-10-31 11:31:36 -0600
commit78d962818b8782ca03be3cb66d273e3d347ca62a (patch)
tree022899e2f840f476ff2219e720e4274e8be5f290 /doc
parent031b7ca632674663aa35aae92d44ccd7db55e81e (diff)
parent90a8ea3338ae076223485def2fbc5527cadcf84a (diff)
downloadnumpy-78d962818b8782ca03be3cb66d273e3d347ca62a.tar.gz
Merge pull request #6592 from charris/remove-split-futurewarning
DEP: Remove split `FutureWarning` for empty arrays in the result.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.10.0-notes.rst16
-rw-r--r--doc/release/1.11.0-notes.rst19
2 files changed, 27 insertions, 8 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst
index 0341d2a6a..e753707d4 100644
--- a/doc/release/1.10.0-notes.rst
+++ b/doc/release/1.10.0-notes.rst
@@ -20,7 +20,8 @@ Highlights
* Addition of `nanprod` to the set of nanfunctions.
* Support for the '@' operator in Python 3.5.
-Dropped Support:
+Dropped Support
+===============
* The _dotblas module has been removed. CBLAS Support is now in
Multiarray.
@@ -35,15 +36,22 @@ Dropped Support:
* Keywords ``skiprows`` and ``missing`` removed from np.genfromtxt.
* Keyword ``old_behavior`` removed from np.correlate.
-Future Changes:
+Future Changes
+==============
* In array comparisons like ``arr1 == arr2``, many corner cases
involving strings or structured dtypes that used to return scalars
now issue ``FutureWarning`` or ``DeprecationWarning``, and in the
future will be change to either perform elementwise comparisons or
raise an error.
-* The SafeEval class will be removed.
-* The alterdot and restoredot functions will be removed.
+* In ``np.lib.split`` an empty array in the result always had dimension
+ ``(0,)`` no matter the dimensions of the array being split. In Numpy 1.11
+ that behavior will be 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.
+* The SafeEval class will be removed in Numpy 1.11.
+* The alterdot and restoredot functions will be removed in Numpy 1.11.
See below for more details on these changes.
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
~~~~~