You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally this was scheduled to happen in 1.8, but 1.7 was released 2013-02-10, and then we're accelerating the release schedule so that 1.8 will be only a few months later -- which seems too soon to actually take the next step in this deprecation plan.
Current plan: make the changes below in whichever release comes on or after: ?? (to be determined on mailing list)
Starting in 1.<?>, PyArray_Diagonal is supposed to start returning a non-writeable view.
To do:
Make the (trivial) change at the bottom of PyArray_Diagonal
Update the numpy.diagonal documentation
Make a note in the release notes
Optionally, remove NPY_ARRAY_WARN_ON_WRITE flag. If so, see the
below pull request to find the code to change. Even if we decide
to keep it around for a rainy day, the message in
array_might_be_written should have the references to diagonals
removed.
File a new ticket to make the returned array writeable, at some future date.
I went ahead and put in a PR for the views. I expect the 1.8 release will come out in Oct if we are lucky. Eight months is probably enough and developers have probably been tracking 1.8.0-devel for more than a year.
Original ticket http://projects.scipy.org/numpy/ticket/2136 on 2012-05-19 by @njsmith, assigned to unknown.
Originally this was scheduled to happen in 1.8, but 1.7 was released 2013-02-10, and then we're accelerating the release schedule so that 1.8 will be only a few months later -- which seems too soon to actually take the next step in this deprecation plan.
Current plan: make the changes below in whichever release comes on or after: ?? (to be determined on mailing list)
Starting in 1.<?>, PyArray_Diagonal is supposed to start returning a non-writeable view.
To do:
below pull request to find the code to change. Even if we decide
to keep it around for a rainy day, the message in
array_might_be_written should have the references to diagonals
removed.
Reference: #280
The text was updated successfully, but these errors were encountered: