On Wed, Dec 28, 2011 at 2:58 PM, Ralf Gommers <ralf.gommers@googlemail.com> wrote:

I'm having some trouble cleaning up tests to deal with these two deprecations:

DeprecationWarning: Setting NumPy dtype names is deprecated, the dtype will become immutable in a future version
DeprecationWarning: DType strings 'O4' and 'O8' are deprecated because they are platform specific. Use 'O' instead

They seem fairly invasive, judged by the test noise in both numpy and scipy. Record arrays rely on setting dtype names. There are tests for picking and the buffer protocol that generate warnings for O4/O8. Can anyone comment on the necessity of these deprecations and how to deal with them?

Anyone? This is important for the 1.7.0 release.

Also, I don't recall this being discussed. If I'm wrong please point me to the discussion, otherwise some discussion/explanation is in order I think.