[Python-Dev] Bug in PyLocale_strcoll

M.-A. Lemburg mal at egenix.com
Sun Nov 21 15:32:30 CET 2004


Aahz wrote:
> On Sat, Nov 20, 2004, Andreas Degert wrote:
> 
>>I think I found a bug in PyLocale_strcoll() (Python 2.3.4). When used
>>with 2 unicode strings, it converts them to wchar strings and uses
>>wcscoll. The bug is that the wchar strings are not 0-terminated.
> 
> 
> If you're sure this is a bug, please file on SF and report back the ID.
> (If you're not sure, what until you get confirmation from one of the
> Unicode experts and then file the bug. ;-)

Please also check that the bug is still present in Python 2.4 and/or
CVS. We've corrected a bug in the PyUnicode_*WideChar*() APIs just
recently for Python 2.4.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 21 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