[Numpy-svn] [numpy/numpy] 46fbdc: [fix] Check for errors in PyArray_CanCastTypeto DE...
GitHub
noreply at github.com
Fri Sep 27 16:55:02 EDT 2013
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 46fbdc5e7bb770d290aa5691edba92a1a9b9ca35
https://github.com/numpy/numpy/commit/46fbdc5e7bb770d290aa5691edba92a1a9b9ca35
Author: Nathaniel J. Smith <njs at pobox.com>
Date: 2013-09-27 (Fri, 27 Sep 2013)
Changed paths:
M numpy/core/src/multiarray/convert_datatype.c
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
[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...
Commit: da8f1ff94846949f69b06409f399eb8dad544508
https://github.com/numpy/numpy/commit/da8f1ff94846949f69b06409f399eb8dad544508
Author: Nathaniel J. Smith <njs at pobox.com>
Date: 2013-09-27 (Fri, 27 Sep 2013)
Changed paths:
M numpy/core/src/multiarray/convert_datatype.c
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
[fix] If we fail to raise an error, at least dump something to the console
Commit: 282801ce531d38ffdfc0ea99aa5f34e321967278
https://github.com/numpy/numpy/commit/282801ce531d38ffdfc0ea99aa5f34e321967278
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2013-09-27 (Fri, 27 Sep 2013)
Changed paths:
M numpy/core/src/multiarray/convert_datatype.c
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
Merge pull request #3806 from njsmith/fix_cancasttypeto_deprecation
[fix] Check for errors in PyArray_CanCastTypeto DEPRECATE
Compare: https://github.com/numpy/numpy/compare/6fbbd7f248bf...282801ce531d
More information about the Numpy-svn
mailing list