[Python-Dev] New Py_UNICODE doc

"Martin v. Löwis" martin at v.loewis.de
Sat May 7 15:29:38 CEST 2005


Nicholas Bastin wrote:
> --enable-unicode=ucs2
> 
> be replaced with:
> 
> --enable-unicode=utf16
> 
> and the docs be updated to reflect more accurately the variance of the
> internal storage type.

-1. This breaks existing documentation and usage, and provides only
minimum value.

With --enable-unicode=ucs2, Python's Py_UNICODE does *not* start
supporting the full Unicode ccs the same way it supports UCS-2.
Individual surrogate values remain accessible, and supporting
non-BMP characters is left to the application (with the exception
of the UTF-8 codec).

Regards,
Martin




More information about the Python-Dev mailing list