summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-12-07 16:16:52 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-12-07 16:16:52 -0700
commit1579ba490d5bc67f16d5311a0789cdf69d81ea11 (patch)
tree322832386edb2fee8a41c90c2edd6e874b3fb23b /doc
parentf1c5451e0521cf86e9485e16a2ea46864abc7b6a (diff)
parent6ddc496dfafa717ccb88941c111cd6a6e6d64d98 (diff)
downloadnumpy-1579ba490d5bc67f16d5311a0789cdf69d81ea11.tar.gz
Merge pull request #6778 from charris/update-1.10.2-notes
WIP: Update 1.10.2 notes
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.10.0-notes.rst6
-rw-r--r--doc/release/1.10.2-notes.rst62
2 files changed, 64 insertions, 4 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst
index e753707d4..35e967f44 100644
--- a/doc/release/1.10.0-notes.rst
+++ b/doc/release/1.10.0-notes.rst
@@ -78,6 +78,12 @@ relaxed stride checking
~~~~~~~~~~~~~~~~~~~~~~~
NPY_RELAXED_STRIDE_CHECKING is now true by default.
+UPDATE: In 1.10.2 the default value of NPY_RELAXED_STRIDE_CHECKING was
+changed to false for back compatibility reasons. More time is needed before
+it can be made the default. As part of the roadmap a deprecation of
+dimension changing views of f_contiguous not c_contiguous arrays was also
+added.
+
Concatenation of 1d arrays along any but ``axis=0`` raises ``IndexError``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using axis != 0 has raised a DeprecationWarning since NumPy 1.7, it now
diff --git a/doc/release/1.10.2-notes.rst b/doc/release/1.10.2-notes.rst
index 70c9398ba..a597a817c 100644
--- a/doc/release/1.10.2-notes.rst
+++ b/doc/release/1.10.2-notes.rst
@@ -10,24 +10,47 @@ Numpy 1.10.1 supports Python 2.6 - 2.7 and 3.2 - 3.5.
Compatibility notes
===================
-fix swig bug in ``numpy.i``
+Relaxed stride checking is no longer the default
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+There were back compatibility problems involving views changing the dtype of
+multidimensional Fortran arrays that need to be dealt with over a longer
+timeframe.
+
+Fix swig bug in ``numpy.i``
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Relaxed stride checking revealed a bug in ``array_is_fortran(a)``, that was
using PyArray_ISFORTRAN to check for Fortran contiguity instead of
PyArray_IS_F_CONTIGUOUS. You may want to regenerate swigged files using the
updated numpy.i
+Deprecate views changing dimensions in fortran order
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+This deprecates assignment of a new descriptor to the dtype attribute of
+a non-C-contiguous array if it result in changing the shape. This
+effectively bars viewing a multidimensional Fortran array using a dtype
+that changes the element size along the first axis.
+
+The reason for the deprecation is that, when relaxed strides checking is
+enabled, arrays that are both C and Fortran contiguous are always treated
+as C contiguous which breaks some code that depended the two being mutually
+exclusive for non-scalar arrays of ndim > 1. This deprecation prepares the
+way to always enable relaxed stride checking.
+
+
Issues Fixed
============
+* gh-6019 Masked array repr fails for structured array with multi-dimensional column.
* gh-6462 Median of empty array produces IndexError.
* gh-6467 Performance regression for record array access.
+* gh-6468 numpy.interp uses 'left' value even when x[0]==xp[0].
* gh-6475 np.allclose returns a memmap when one of its arguments is a memmap.
* gh-6491 Error in broadcasting stride_tricks array.
* gh-6495 Unrecognized command line option '-ffpe-summary' in gfortran.
* gh-6497 Failure of reduce operation on recarrays.
* gh-6498 Mention change in default casting rule in 1.10 release notes.
* gh-6530 The partition function errors out on empty input.
+* gh-6532 numpy.inner return wrong inaccurate value sometimes.
* gh-6563 Intent(out) broken in recent versions of f2py.
* gh-6569 Cannot run tests after 'python setup.py build_ext -i'
* gh-6572 Error in broadcasting stride_tricks array component.
@@ -39,13 +62,22 @@ Issues Fixed
* gh-6636 Memory leak in nested dtypes in numpy.recarray
* gh-6641 Subsetting recarray by fields yields a structured array.
* gh-6667 ma.make_mask handles ma.nomask input incorrectly.
+* gh-6675 Optimized blas detection broken in master and 1.10.
+* gh-6678 Getting unexpected error from: X.dtype = complex (or Y = X.view(complex))
+* gh-6718 f2py test fail in pip installed numpy-1.10.1 in virtualenv.
+* gh-6719 Error compiling Cython file: Pythonic division not allowed without gil.
+* gh-6771 Numpy.rec.fromarrays losing dtype metadata between versions 1.9.2 and 1.10.1
+* gh-6781 The travis-ci script in maintenance/1.10.x needs fixing.
+
Merged PRs
==========
-The following PRs in master have been backported to 1.10.2
+The following PRs have been merged into 1.10.2. When the PR is a backport,
+the PR number for the original PR against master is listed.
* gh-5773 MAINT: Hide testing helper tracebacks when using them with pytest.
+* gh-6094 BUG: Fixed a bug with string representation of masked structured arrays.
* gh-6208 MAINT: Speedup field access by removing unneeded safety checks.
* gh-6460 BUG: Replacing the os.environ.clear by less invasive procedure.
* gh-6470 BUG: Fix AttributeError in numpy distutils.
@@ -80,6 +112,20 @@ The following PRs in master have been backported to 1.10.2
* gh-6643 ENH: make recarray.getitem return a recarray.
* gh-6653 BUG: Fix ma dot to always return masked array.
* gh-6668 BUG: ma.make_mask should always return nomask for nomask argument.
+* gh-6686 BUG: Fix a bug in assert_string_equal.
+* gh-6695 BUG: Fix removing tempdirs created during build.
+* gh-6697 MAINT: Fix spurious semicolon in macro definition of PyArray_FROM_OT.
+* gh-6698 TST: test np.rint bug for large integers.
+* gh-6717 BUG: Readd fallback CBLAS detection on linux.
+* gh-6721 BUG: Fix for #6719.
+* gh-6726 BUG: Fix bugs exposed by relaxed stride rollback.
+* gh-6757 BUG: link cblas library if cblas is detected.
+* gh-6756 TST: only test f2py, not f2py2.7 etc, fixes #6718.
+* gh-6747 DEP: Deprecate changing shape of non-C-contiguous array via descr.
+* gh-6775 MAINT: Include from __future__ boilerplate in some files missing it.
+* gh-6780 BUG: metadata is not copied to base_dtype.
+* gh-6783 BUG: Fix travis ci testing for new google infrastructure.
+* gh-6785 BUG: Quick and dirty fix for interp.
Initial support for mingwpy was reverted as it was causing problems for
non-windows builds.
@@ -87,11 +133,19 @@ non-windows builds.
* gh-6536 BUG: Revert gh-5614 to fix non-windows build problems
A fix for np.lib.split was reverted because it resulted in "fixing"
-behavior will be present in the Numpy 1.11 and was already present in
-Numpy 1.9. See the discussion of the issue at gh-6575 for clarification.
+behavior that will be present in the Numpy 1.11 and that was already
+present in Numpy 1.9. See the discussion of the issue at gh-6575 for
+clarification.
* gh-6576 BUG: Revert gh-6376 to fix split behavior for empty arrays.
+Relaxed stride checking was reverted. There were back compatibility
+problems involving views changing the dtype of multidimensional Fortran
+arrays that need to be dealt with over a longer timeframe.
+
+* gh-6735 MAINT: Make no relaxed stride checking the default for 1.10.
+
+
Notes
=====
A bug in the Numpy 1.10.1 release resulted in exceptions being raised for