summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-08-06 08:53:09 -0500
committerEric Wieser <wieser.eric@gmail.com>2017-08-06 12:02:04 -0500
commit917700c8576231004fe541d5956da8ca9188ca7e (patch)
treec6c1a4c128e68752ef7fa3b0f20b58c98697b678 /doc
parent2489aded2dc7f779a66b5f93ea59ba4731c46b86 (diff)
downloadnumpy-917700c8576231004fe541d5956da8ca9188ca7e.tar.gz
BUG: Don't allow an array to be passed as the dtype argument
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.14.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.14.0-notes.rst b/doc/release/1.14.0-notes.rst
index 5e12b9f4a..49491467e 100644
--- a/doc/release/1.14.0-notes.rst
+++ b/doc/release/1.14.0-notes.rst
@@ -57,6 +57,12 @@ This is not expected to cause problems, but possibly something has been left
out. If you experience an unexpected import problem using ``numpy.testing``
let us know.
+``np.asfarray`` no longer accepts non-dtypes through the ``dtype`` argument
+---------------------------------------------------------------------------
+This previously would accept ``dtype=some_array``, with the implied semantics
+of ``dtype=some_array.dtype``. This was undocumented, unique across the numpy
+functions, and if used would likely correspond to a typo.
+
C API changes
=============