Author theller
Recipients
Date 2004-10-11.10:28:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2008-01-20 09:57:14adminlinkissue1044479 messages
2008-01-20 09:57:14admincreate