diff options
author | Jon Cusick <jonathan.cusick09@gmail.com> | 2022-07-17 15:24:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-17 13:24:13 -0700 |
commit | 0762342935ac615d08eaf86e47b3ade3d105b045 (patch) | |
tree | 524ce2027aa7bd19a13bfd43b6fe4e2564203536 /numpy/array_api/tests | |
parent | 4156ae2606a3143b8b3147bddf5291d679172c02 (diff) | |
download | numpy-0762342935ac615d08eaf86e47b3ade3d105b045.tar.gz |
BUG: Avoid errors on NULL during deepcopy (#21996)
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 gh-8706, gh-21883
Diffstat (limited to 'numpy/array_api/tests')
0 files changed, 0 insertions, 0 deletions