Skip to content

ENH: Add subok parameter to np.copy function (cf. #6509)#15685

Merged
seberg merged 7 commits intonumpy:masterfrom
rossbar:enh/copy_subok
Mar 11, 2020
Merged

ENH: Add subok parameter to np.copy function (cf. #6509)#15685
seberg merged 7 commits intonumpy:masterfrom
rossbar:enh/copy_subok

Conversation

@rossbar
Copy link
Contributor

@rossbar rossbar commented Mar 2, 2020

This is largely a re-submission of the original change proposed in #6509. Discussion was hosted in multiple forums including #3474, the numpy mailing list circa 10-2015, and the 02-26-2020 NumPy Triage meeting.

This PR closes #3474 and #15570

rossbar added 3 commits March 2, 2020 15:07
Re-introduces changes originally proposed in numpy#6509 which was
closed due to very long review period.
@charris charris added 01 - Enhancement component: numpy.lib 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes labels Mar 3, 2020
@charris
Copy link
Member

charris commented Mar 3, 2020

Needs a release note.

@seberg seberg removed the 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes label Mar 4, 2020
Incorporate rst formatting feedback
rossbar and others added 2 commits March 4, 2020 09:42
Added sentence to highlight difference bewteen np.copy and
np.ndarray.copy method.
Update docstring "default" to be more explicit

Co-Authored-By: Matti Picus <matti.picus@gmail.com>
@rossbar
Copy link
Contributor Author

rossbar commented Mar 7, 2020

Okay, that should be everything - if the updated release note needs some re-wording let me know (or feel free to make the suggestion directly).

@seberg seberg merged commit b074b21 into numpy:master Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

np.copy(masked array) has unexpected behavior

6 participants