summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_array_object.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-10-07 16:42:34 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2021-10-07 16:52:46 -0700
commitc78ae0bc8fce9dd0cbee21dbca3c01750bea23b1 (patch)
tree54e5f678dc4c502d454fc89ffaa487a92342ed88 /numpy/array_api/tests/test_array_object.py
parentf53077617d5d92ab76cc9a01bb55913b1f4fcbe7 (diff)
downloadnumpy-c78ae0bc8fce9dd0cbee21dbca3c01750bea23b1.tar.gz
BUG: Add workaround for missing ufunc error propagation
Some ufuncs (currently `np.power` soon hopefully only some bad user ufunc) may release the GIL but still set Python errors. The best bet we have is attempting to blanket check for errors before returning from the ufunc. This adds a new ufunc (since we should move `np.power` to the new style definition with error return), and tests all relevant ufunc entrypoints. Closes gh-19634
Diffstat (limited to 'numpy/array_api/tests/test_array_object.py')
0 files changed, 0 insertions, 0 deletions