[pypy-issue] [issue1155] windows creates 2 bytes unicode dtype numpy arrays, not 4 byte

mattip tracker at bugs.pypy.org
Tue May 29 22:35:56 CEST 2012


New submission from mattip <matti.picus at gmail.com>:

The test AppTestStrUnicodeDtypes.().test_unicode_dtype on windows fails. 
Am I correct in that unicode strings are 2 byte per character on windows? 
cpython numpy has a comment in the code /* Numpy Unicode is always 4-byte */ so 
the test is correct, windows somehow needs to create 4 byte dtypes.
I'm willing to fix but need a push in the right direction

----------
messages: 4344
nosy: mattip, pypy-issue
priority: bug
status: unread
title: windows creates 2 bytes unicode dtype numpy arrays, not 4 byte

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1155>
________________________________________


More information about the pypy-issue mailing list