[Python-Dev] Bug in PyLocale_strcoll

Thomas Heller theller at python.net
Mon Nov 22 15:22:31 CET 2004


>> - mention the 0-termination of the return-value of
>>   PyUnicode_AS_UNICODE()
>> - mention the 0-termination of the return-value of
>>   PyUnicode_AsWideChar
>
> I don't think we should document this. Programmers should always
> use the size of the object rather than rely on the 0-termination.

Then, *this* should be clearly mentioned somewhere. imo.

Thomas



More information about the Python-Dev mailing list