numpy/numpy — pull request #451 by njsmith (2012-09-20 21:44:49+00:00)
Title: Unsafe cast deprecation

* Improve test functions for warning code

* Switch back to "unsafe" as a default for ufunc out= arguments, but raise a DeprecationWarning on anything that violates the "same_kind" casting rule, so that we can switch to "same_kind" in a future release.

See commit messages for details.