[Python-Dev] Old libc's isspace() bug on FreeBSD brings back on Mac OS X?
Jan Hosang
jan.hosang at gmail.com
Fri Oct 2 23:32:38 CEST 2009
Confirmed on 10.6 for 2.6.3 and 2.7a0. For 3.2a0 both asserts fail.
On 02.10.2009, at 10:29, INADA Naoki wrote:
>> 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>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/jan.hosang%40gmail.com
More information about the Python-Dev
mailing list