[Python-Dev] New Py_UNICODE doc
Thomas Heller
theller at python.net
Wed May 4 20:59:24 CEST 2005
"Fredrik Lundh" <fredrik at pythonware.com> writes:
> Thomas Heller wrote:
>
>> AFAIK, you can configure Python to use 16-bits or 32-bits Unicode chars,
>> independend from the size of wchar_t. The HAVE_USABLE_WCHAR_T macro
>> can be used by extension writers to determine if Py_UNICODE is the same as
>> wchar_t.
>
> note that "usable" is more than just "same size"; it also implies that widechar
> predicates (iswalnum etc) works properly with Unicode characters, under all
> locales.
Ok, so who is going to collect the wisdom of this thread into the docs?
Thomas
More information about the Python-Dev
mailing list