[Numpy-discussion] dtype related deprecations

Ralf Gommers ralf.gommers at googlemail.com
Wed Dec 28 08:58:21 EST 2011


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?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20111228/baf4be9a/attachment.html>


More information about the NumPy-Discussion mailing list