[Numpy-discussion] unicode string for specifying dtype

Antony Lee antony.lee at berkeley.edu
Wed Nov 17 00:33:34 EST 2010


I just ran into the following:

>>> np.dtype(u"f4")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: data type not understood

Is that the expected behaviour?

Thanks in advance,
Antony Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20101116/37f33de5/attachment.html>


More information about the NumPy-Discussion mailing list