[Python-Dev] Old libc's isspace() bug on FreeBSD brings back on Mac OS X?

INADA Naoki songofacandy at gmail.com
Fri Oct 2 10:29:39 CEST 2009


> Do you have a testcase that shows what the problem is?
>
> Ronald

>>> 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

Second assert failed on Snow Leopard.

-- 
Naoki INADA  <songofacandy at gmail.com>


More information about the Python-Dev mailing list