Message93650
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. |
|
Date |
User |
Action |
Args |
2009-10-06 14:07:45 | methane | set | recipients:
+ methane |
2009-10-06 14:07:45 | methane | set | messageid: <1254838065.19.0.554814525306.issue7072@psf.upfronthosting.co.za> |
2009-10-06 14:07:43 | methane | link | issue7072 messages |
2009-10-06 14:07:43 | methane | create | |
|