summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2019-04-23 21:57:09 -0700
committerEric Wieser <wieser.eric@gmail.com>2019-04-23 21:57:09 -0700
commit58c28d4fd1c54b455d19372f0c838fed5fc71fe4 (patch)
treec74e068e3bab989cc37da920e5bfcf64872d324f /doc/release
parent20472595f5b9f4b2fcfedcf6aae9684f95af1c8c (diff)
downloadnumpy-58c28d4fd1c54b455d19372f0c838fed5fc71fe4.tar.gz
DOC: Add 1.17 release note
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index 5fd29bef0..47b6ac64e 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -253,6 +253,14 @@ of NumPy functions on non-NumPy arrays, as described in `NEP 18`_. The feature
was available for testing with NumPy 1.16 if appropriate environment variables
are set, but is now always enabled.
+`numpy.lib.recfunctions.structured_to_unstructured` does not squeeze single-field views
+---------------------------------------------------------------------------------------
+Previously ``structured_to_unstructured(arr[['a']])`` would produce a squeezed
+result inconsistent with ``structured_to_unstructured(arr[['a', b']])``. This
+was accidental. The old behavior can be retained with
+``structured_to_unstructured(arr[['a']]).squeeze(axis=-1)`` or far more simply,
+``arr['a']``.
+
``__array_interface__`` offset now works as documented
------------------------------------------------------
The interface may use an ``offset`` value that was mistakenly ignored.