[Python-Dev] Internationalization Toolkit

Tim Peters tim_one@email.msn.com
Tue, 16 Nov 1999 00:52:12 -0500


[Da Silva, Mike]
> ...
> 5.	UTF-16 requires string operations that do not make assumptions
> about nulls - this means re-implementing most of the C runtime
> functions to work with unsigned shorts.

Python strings are already null-friendly, so Python has already recoded
everything it needs to get away from the no-null assumption; stropmodule.c
is < 1,500 lines of code, and MAL can turn it into C++ template functions in
his sleep <wink -- but stuff "like this" really is easier in C++>.