From 917700c8576231004fe541d5956da8ca9188ca7e Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sun, 6 Aug 2017 08:53:09 -0500 Subject: BUG: Don't allow an array to be passed as the dtype argument --- doc/release/1.14.0-notes.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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 ============= -- cgit v1.2.1