[Numpy-discussion] Python 3 porting

Stéfan van der Walt stefan@sun.ac...
Mon Feb 15 15:21:27 CST 2010


On 15 February 2010 23:11, Charles R Harris <charlesr.harris@gmail.com> wrote:
>> OSX, 64-bit with (I'm assuming) UCS2 (since I didn't specify the UCS4
>> variant when building).  Is there an easy way to check the unicode
>> width?
>>
> I found it in the pyconfig.h file:
>
> pyconfig.h:#define Py_UNICODE_SIZE 4'

Aha!

#define Py_UNICODE_SIZE 2

Stéfan


More information about the NumPy-Discussion mailing list