FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BUG: Avoid errors on NULL during deepcopy by charris · Pull Request #22038 · numpy/numpy · GitHub

/ numpy Public

BUG: Avoid errors on NULL during deepcopy - #22038

Merged
charris merged 1 commit into
numpy:maintenance/1.23.xfrom
charris:backport-21996
Jul 24, 2022
Merged

charris merged 1 commit into
numpy:maintenance/1.23.xfrom
charris:backport-21996

Conversation

charris commented Jul 24, 2022

Copy link
Copy Markdown
Member

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 added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 24, 2022
charris added this to the 1.23.2 release milestone Jul 24, 2022
charris merged commit 7c918c8 into numpy:maintenance/1.23.x Jul 24, 2022
charris deleted the backport-21996 branch July 24, 2022 15:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL