[Numpy-discussion] Regression: in-place operations (possibly intentional)
Charles R Harris
charlesr.harris@gmail....
Tue Sep 18 19:08:51 CDT 2012
<snip>
The relevant setting is in numpy/core/include/numpy/ndarraytypes.h
#define NPY_DEFAULT_ASSIGN_CASTING NPY_SAME_KIND_CASTING
I think that if we want to raise a warning we could define a new rule,
NPY_WARN_SAME_KIND_CASTING
Which would do the same as unsafe, only raise a warning on the way.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120918/d2ad5dd1/attachment.html
More information about the NumPy-Discussion
mailing list