summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2013-09-27 18:12:52 +0100
committerNathaniel J. Smith <njs@pobox.com>2013-09-27 18:12:52 +0100
commit46fbdc5e7bb770d290aa5691edba92a1a9b9ca35 (patch)
tree6ecc5dc0baeb9d1172c3fe3f7c261ff7af54a7a2 /numpy/polynomial/polyutils.py
parent6fbbd7f248bfa808bfe659685cf31d79a2f897f9 (diff)
downloadnumpy-46fbdc5e7bb770d290aa5691edba92a1a9b9ca35.tar.gz
[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...
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions