homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients xdegaye
Date 2016年12月17日.15:53:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481990011.29.0.921091343055.issue28996@psf.upfronthosting.co.za>
In-reply-to
Content
Both strcoll() and strxfrm() are broken (character 'à' unicode code point is 'e0'):
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
'C.UTF-8'
>>> locale.strcoll('\u00e0', 'b')
1
>>> locale.strxfrm('\u00e0') < locale.strxfrm('b')
False
The correct results are -1 and True.
History
Date User Action Args
2016年12月17日 15:53:31xdegayesetrecipients: + xdegaye
2016年12月17日 15:53:31xdegayesetmessageid: <1481990011.29.0.921091343055.issue28996@psf.upfronthosting.co.za>
2016年12月17日 15:53:31xdegayelinkissue28996 messages
2016年12月17日 15:53:31xdegayecreate

AltStyle によって変換されたページ (->オリジナル) /