Hi All,

This is to note that gh-6592 <https://github.com/numpy/numpy/pull/6592>
proposes to accelerate a planned future change to array_split. In Numpy <
1.9 empty arrays resulting from split always had dimension (0,),regardless
of the dimensions of the other arrays in the result. In Numpy 1.9 a
FutureWarning was raised saying that that would change and at some point
empty arrays would have dimensions consistent with the other arrays in the
result. However, there was a bug in the condition for raising that warning
and empty arrays that were not the last of the returned arrays already had
consistent dimensions. As a result, 1.9 was half way to the future but not
quite there. That bug was fixed in 1.10.0, but some folks were already
relying on the future behavior and opened a bug report on 1.10, see gh-6575
<https://github.com/numpy/numpy/issues/6575>. This left us in a sticky
position. The decision has been made to revert the bug fix in 1.10 so that
things remain as they were in 1.9, and move completely to consistent
dimensions in 1.11. The move is a bit accelerated but seems the most
graceful way out of the morass.

Thoughts?

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to