Message117792
STINNER Victor wrote:
>
> STINNER Victor <victor.stinner@haypocalc.com> added the comment:
>
> I don't know how to test "if Py_UNICODE_SIZE == 4 && SIZEOF_WCHAR_T == 2". On Windows, sizeof(wchar_t) is 2, but it looks like Python is not prepared to have Py_UNICODE != wchar_t for is Windows implementation.
>
> wchar_t is 32 bits long on Linux and Mac OS X. So how can I test it? Or should we just drop support of "Py_UNICODE_SIZE == 4 && SIZEOF_WCHAR_T == 2"?
You can tweak the Windows pyconfig.h to use UCS4, AFAIK, if you want to
test drive this case.
But it's probably easier to configure with "gcc -fshort-wchar" on
Linux :-)
Dropping support for this is not a good idea. |
|
Date |
User |
Action |
Args |
2010-10-01 12:46:54 | lemburg | set | recipients:
+ lemburg, theller, vstinner, stutzbach, ezio.melotti |
2010-10-01 12:46:53 | lemburg | link | issue8670 messages |
2010-10-01 12:46:53 | lemburg | create | |
|