You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following behaviour on Windows only, using numpy 1.13.1 installed via conda:
>>> import numpy as np
>>> v = np.array('xxx', dtype='U3')[()]
>>> v
'xxx'
>>> a = np.empty(10, dtype='U3')
>>> a[:] = v
>>> a[0] == v
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf-32-le' codec can't decode bytes in position 0-3: code point not in range(0x110000)
I don't understand what's happening here but this seemed surprising to me. Default locale on the Windows machine is cp1252 if that helps to know.
I get the following behaviour on Windows only, using numpy 1.13.1 installed via conda:
I don't understand what's happening here but this seemed surprising to me. Default locale on the Windows machine is cp1252 if that helps to know.
xref https://github.com/alimanfoo/zarr/pull/172
The text was updated successfully, but these errors were encountered: