[Python-Dev] Bug in PyLocale_strcoll

M.-A. Lemburg mal at egenix.com
Mon Nov 22 15:30:38 CET 2004


Thomas Heller wrote:
>>>- 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.

FYI, I added this to the PyUnicode_AsWideChar() documentation.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 22 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Python-Dev mailing list