[Numpy-discussion] some typestrings not recognized anymore
Ralf Gommers
ralf.gommers at googlemail.com
Sun Jun 3 10:28:01 EDT 2012
Hi,
Just ran into this:
>>> np.__version__
'1.5.1'
>>> np.empty((1,), dtype='>h2') # works in 1.6.2 too
array([0], dtype=int16)
>>> np.__version__
'1.7.0.dev-fd78546'
>>> np.empty((1,), dtype='>h2')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: data type ">h2" not understood
Seems like a quite serious issue. It breaks scipy.io.netcdf for example.
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120603/b91d1a0f/attachment.html>
More information about the NumPy-Discussion
mailing list