summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAitik Gupta <aitikgupta@gmail.com>2021-01-19 17:27:00 +0530
committermattip <matti.picus@gmail.com>2021-03-18 20:48:23 +0200
commit4bcfc9df533dc888f637d5291cd184c90288487c (patch)
tree07792f5d8d3271ba430a0214c9959aa1ecb81b3c
parent35158c723787c46014ff2bf8332e0aa639dcb0c7 (diff)
downloadnumpy-4bcfc9df533dc888f637d5291cd184c90288487c.tar.gz
REL: Add deprecation release note
-rw-r--r--doc/release/upcoming_changes/17492.deprecation.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17492.deprecation.rst b/doc/release/upcoming_changes/17492.deprecation.rst
new file mode 100644
index 000000000..e0a2a78af
--- /dev/null
+++ b/doc/release/upcoming_changes/17492.deprecation.rst
@@ -0,0 +1,8 @@
+Inexact matches for `numpy.convolve` and `numpy.correlate` are deprecated
+-------------------------------------------------------------------------
+
+`numpy.convolve` and `numpy.correlate` now parses its ``mode`` argument in C
+instead of Python, and raises a warning when there are case insensitive and/or
+inexact matches found for ``mode`` argument in the functions.
+Pass full ``"same"``, ``"valid"``, ``"full"`` strings instead of
+``"s"``, ``"v"``, ``"f"`` for the ``mode`` argument.