diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-12-18 23:45:50 -0800 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-01-13 11:14:19 -0800 |
commit | f4f3fa757c6a3ce498ea04a1bb0cbf7634be1d57 (patch) | |
tree | 7cb8cd251d552d292b96b5176d5dd655589f4978 /numpy/f2py/tests/test_compile_function.py | |
parent | f4ddc2b3251d4606cc227761933e991131425416 (diff) | |
download | numpy-f4f3fa757c6a3ce498ea04a1bb0cbf7634be1d57.tar.gz |
ENH: Use richer exception types for ufunc type resolution errors
This might make it easier for users to implement `__array_ufunc__` with custom casting behavior.
The motivation for this was to be able to deprecate the broken casting behavior in `np.clip`, without resorting to inspecting error strings.
This also removes the need for gh-12178
Diffstat (limited to 'numpy/f2py/tests/test_compile_function.py')
0 files changed, 0 insertions, 0 deletions