summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-10-31 08:41:17 +0200
committermattip <matti.picus@gmail.com>2019-10-31 08:41:17 +0200
commite6168f1eb548aba75e1d7389b82b7eec2b57c389 (patch)
treeb00c8d124a603a556fd112d53f0325ec9e1c5259 /doc
parentfa2aa53b89765f2555adf76f0009b4c29a39099e (diff)
downloadnumpy-e6168f1eb548aba75e1d7389b82b7eec2b57c389.tar.gz
DOC: add release note
Diffstat (limited to 'doc')
-rw-r--r--doc/release/upcoming_changes/14794.deprecation.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/14794.deprecation.rst b/doc/release/upcoming_changes/14794.deprecation.rst
new file mode 100644
index 000000000..23a147cdb
--- /dev/null
+++ b/doc/release/upcoming_changes/14794.deprecation.rst
@@ -0,0 +1,7 @@
+Deprecate automatic ``dtype=object`` for ragged input
+-----------------------------------------------------
+Calling ``np.array([[1, [1, 2, 3]])`` will issue a ``DeprecationWarning`` as
+per `NEP 34`_. Users should explicitly use ``dtype=object`` to avoid the
+warning.
+
+.. _`NEP 34`: http://www.numpy.org/neps