[Numpy-discussion] dtype related deprecations

Ralf Gommers ralf.gommers@googlemail....
Sat Feb 4 10:07:41 CST 2012

On Wed, Dec 28, 2011 at 2:58 PM, Ralf Gommers

> Hi,
> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120204/65291812/attachment.html 

More information about the NumPy-Discussion mailing list