Message60586
Quoting the docs (Python C/API manual, section 7.3.2,
unicode objects):
Py_UNICODE
This type represents a 16-bit unsigned storage type
which is used by Python internally as basis for holding
Unicode ordinals. On platforms where wchar_t is
available and also has 16-bits, Py_UNICODE is a typedef
alias for wchar_t to enhance native platform
compatibility. On all other platforms, Py_UNICODE is a
typedef alias for unsigned short.
This is apparently wrong for wide unicode builds. |
|
Date |
User |
Action |
Args |
2008-01-20 09:57:14 | admin | link | issue1044479 messages |
2008-01-20 09:57:14 | admin | create | |
|