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 methane
Recipients methane
Date 2009-10-06.14:07:43
SpamBayes Score 0.0003164621
Marked as misclassified No
Message-id <1254838065.19.0.554814525306.issue7072@psf.upfronthosting.co.za>
In-reply-to
Content
Old FreeBSD's libc has a bug relate to utf-8 locale and Python have 
patch for it: http://svn.python.org/view/python/trunk/Include/pyport.h?
view=diff&pathrev=43219&r1=36792&r2=36793

This bug appears in Mac OS X again. This test fails:
>>> s = '\xa0'
>>> assert s.strip() == s
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
'en_US.UTF-8'
>>> assert s.strip() == s

So above patch should be enabled for Mac OS X.
History
Date User Action Args
2009-10-06 14:07:45methanesetrecipients: + methane
2009-10-06 14:07:45methanesetmessageid: <1254838065.19.0.554814525306.issue7072@psf.upfronthosting.co.za>
2009-10-06 14:07:43methanelinkissue7072 messages
2009-10-06 14:07:43methanecreate