summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorErik M. Bray <erik.bray@lri.fr>2016-06-13 10:53:02 +0200
committerErik M. Bray <erik.bray@lri.fr>2016-06-13 10:53:02 +0200
commitabbf7945ee90680a2dde932be2968ed7fa85f46c (patch)
treedc652cdcffa056898bccdd6d092511a694b33a0f /doc
parent541fd509c24e9d3f94b478b3d09c8ac1b0c0d207 (diff)
downloadnumpy-abbf7945ee90680a2dde932be2968ed7fa85f46c.tar.gz
DOC: Mention the changes of #6430 in the release notes.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.12.0-notes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst
index 0049a1f6f..aaa62e2ac 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -199,6 +199,14 @@ longer grow without bounds. They have been replaced with LRU (least recently
used) caches that automatically evict no longer needed items if either the
memory size or item count limit has been reached.
+Improved handling of zero-width string/unicode dtypes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Fixed several interfaces that explicitly disallowed arrays with zero-width
+string dtypes (i.e. ``dtype('S0')`` or ``dtype('U0')``, and fixed several
+bugs where such dtypes were not handled properly. In particular, changed
+``ndarray.__new__`` to not implicitly convert ``dtype('S0')`` to
+``dtype('S1')`` (and likewise for unicode) when creating new arrays.
+
Changes
=======