Skip to content

Conversation

@charris
Copy link
Member

@charris charris commented Jul 24, 2022

Backport of #21996.

Closes #8706, #21883

Addresses concerns raised in the two linked issues by:

  • Casting NULL objects to Py_None within _deepcopy_call to avoid issues within CPython's deepcopy
  • Setting _deepcopy_call to return an int code for error/success, which is then checked in array_deepcopy

Addresses concerns raised in the two linked issues by:

Casting NULL objects to Py_None within _deepcopy_call to avoid issues within CPython's deepcopy
Setting _deepcopy_call to return an int code for error/success, which is then checked in array_deepcopy

Closes numpygh-8706, numpygh-21883
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 24, 2022
@charris charris added this to the 1.23.2 release milestone Jul 24, 2022
@charris charris merged commit 7c918c8 into numpy:maintenance/1.23.x Jul 24, 2022
@charris charris deleted the backport-21996 branch July 24, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants