summaryrefslogtreecommitdiff
path: root/doc/release/1.12.0-notes.rst
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-03-13 09:29:47 -0600
committerCharles Harris <charlesr.harris@gmail.com>2016-03-13 09:29:47 -0600
commit3eff0ae052c954081e542f14be5891e1310e71f7 (patch)
tree92fdad065f42e49b5bd67f5ae94576382590737d /doc/release/1.12.0-notes.rst
parent5b9162853bab2ef0cc8e71576f5f3c754d0a315c (diff)
parent3af411b270c8ec57ca9ced6fb69029cd86a8e417 (diff)
downloadnumpy-3eff0ae052c954081e542f14be5891e1310e71f7.tar.gz
Merge pull request #7328 from emilienkofman/master
DEP: Deprecated using a float index in linspace
Diffstat (limited to 'doc/release/1.12.0-notes.rst')
-rw-r--r--doc/release/1.12.0-notes.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst
index 0b77688cc..946a6bfdf 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -154,5 +154,10 @@ Deprecations
Assignment of ndarray object's ``data`` attribute
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Assigning the 'data' attribute is an inherently unsafe operation as pointed out
-in gh-7083. Such a capability will be removed in the future.
+Assigning the 'data' attribute is an inherently unsafe operation as pointed
+out in gh-7083. Such a capability will be removed in the future.
+
+Unsafe int casting of the num attribute in linspace
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+``np.linspace`` now raises DeprecationWarning when num cannot be safely
+interpreted as an integer.