Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Check for errors in PyArray_CanCastTypeto DEPRECATE
If a user had set warnings to raise errors, then this DEPRECATE would leave us with an unpropagated exception and cause havoc downstream. Unfortunately there is no way to propagate an exception from here, so we just have to throw it away :-(. But this is still better than the alternative... Conflicts: numpy/core/tests/test_ufunc.py
- Loading branch information