summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_validation.py
diff options
context:
space:
mode:
authorJon Cusick <jonathan.cusick09@gmail.com>2022-07-17 15:24:13 -0500
committerGitHub <noreply@github.com>2022-07-17 13:24:13 -0700
commit0762342935ac615d08eaf86e47b3ade3d105b045 (patch)
tree524ce2027aa7bd19a13bfd43b6fe4e2564203536 /numpy/array_api/tests/test_validation.py
parent4156ae2606a3143b8b3147bddf5291d679172c02 (diff)
downloadnumpy-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/test_validation.py')
0 files changed, 0 insertions, 0 deletions