summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTravis E. Oliphant <teoliphant@gmail.com>2012-06-21 04:56:49 -0500
committerTravis E. Oliphant <teoliphant@gmail.com>2012-06-21 04:56:49 -0500
commitdb1701baf57965e8533293426a0c3b403e81f39a (patch)
tree70d09f276cba5725eb8d46e6b703065a0ff6d906 /doc
parent134174c9265dd87ea802c89cac7a89478e3184f4 (diff)
downloadnumpy-db1701baf57965e8533293426a0c3b403e81f39a.tar.gz
BUG: Fix boolean indexing to previous behavior by adding an additional check before using the new code path. Add tests.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/2.0.0-notes.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/release/2.0.0-notes.rst b/doc/release/2.0.0-notes.rst
index 7a9d43fa1..933716faa 100644
--- a/doc/release/2.0.0-notes.rst
+++ b/doc/release/2.0.0-notes.rst
@@ -24,12 +24,9 @@ The default casting rule for UFunc out= parameters has been changed from
rule are likely bugs, so this change may expose previously undetected
errors in projects that depend on NumPy.
-Full-array boolean indexing used to allow boolean arrays with a size
-non-broadcastable to the array size. Now it forces this to be broadcastable.
-Since this affects some legacy code, this change will require discussion
-during alpha or early beta testing, and a decision to either keep the
-stricter behavior, or add in a hack to allow the previous behavior to
-work.
+Full-array boolean indexing has been optimized to use a different,
+optimized code path. This code path should produce the same results,
+but any feedback about changes to your code would be appreciated.
Attempting to write to a read-only array (one with
``arr.flags.writeable`` set to ``False``) used to raise either a
@@ -42,6 +39,11 @@ performance. Because of the nature of floating-point arithmetic, this
may subtly change some results, just as linking NumPy to a different
BLAS implementations such as MKL can.
+If upgrading from 1.5, then generally in 1.6 and 1.7 there have been
+substantial code added and some code paths altered, particularly in
+the areas of type resolution and buffered iteration over universal
+functions. This might have an impact on your code particularly if
+you relied on accidental behavior in the past.
New features
============