summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-09-03 21:09:44 +0300
committerGitHub <noreply@github.com>2020-09-03 21:09:44 +0300
commit99bcf99750d7da499bf3887e6acf89f025e0b9f2 (patch)
tree4ec2e6f43bfb1976343ddc62f44eb1163fa0f761 /doc/release
parentf6752dbcb452aa35521e859e203558afd1d0ec13 (diff)
parentc8eb9d47c5562c665cb45d91bedbf689e0edf3f0 (diff)
downloadnumpy-99bcf99750d7da499bf3887e6acf89f025e0b9f2.tar.gz
Merge pull request #16134 from seberg/concatenate-dtype
ENH: Implement concatenate dtype and casting keyword arguments
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/upcoming_changes/16134.compatibility.rst8
-rw-r--r--doc/release/upcoming_changes/16134.improvement.rst6
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/16134.compatibility.rst b/doc/release/upcoming_changes/16134.compatibility.rst
new file mode 100644
index 000000000..373cecec0
--- /dev/null
+++ b/doc/release/upcoming_changes/16134.compatibility.rst
@@ -0,0 +1,8 @@
+Same kind casting in concatenate with ``axis=None``
+---------------------------------------------------
+When `~numpy.concatenate` is called with `axis=None`,
+the flattened arrays were cast with ``unsafe``. Any other axis
+choice uses "same kind". That different default
+has been deprecated and "same kind" casting will be used
+instead. The new ``casting`` keyword argument
+can be used to retain the old behaviour.
diff --git a/doc/release/upcoming_changes/16134.improvement.rst b/doc/release/upcoming_changes/16134.improvement.rst
new file mode 100644
index 000000000..0699f44bd
--- /dev/null
+++ b/doc/release/upcoming_changes/16134.improvement.rst
@@ -0,0 +1,6 @@
+Concatenate supports providing an output dtype
+----------------------------------------------
+Support was added to `~numpy.concatenate` to provide
+an output ``dtype`` and ``casting`` using keyword
+arguments. The ``dtype`` argument cannot be provided
+in conjunction with the ``out`` one.