We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 032fca5 commit 07d7e72Copy full SHA for 07d7e72
changelog/13578.deprecation.rst
doc/source/release/1.21.0-notes.rst
@@ -75,6 +75,16 @@ Expired deprecations
75
Deprecations
76
============
77
78
+The ``.dtype`` attribute must return a ``dtype``
79
+------------------------------------------------
80
+
81
+A ``DeprecationWarning`` is now given if the ``.dtype`` attribute
82
+of an object passed into ``np.dtype`` or as a ``dtype=obj`` argument
83
+is not a dtype. NumPy will stop attempting to recursively coerce the
84
+result of ``.dtype``.
85
86
+(`gh-13578 <https://github.com/numpy/numpy/pull/13578>`__)
87
88
Inexact matches for ``numpy.convolve`` and ``numpy.correlate`` are deprecated
89
-----------------------------------------------------------------------------
90
0 commit comments