[issue7072] isspace(0xa0) is true on Mac OS X
Ronald Oussoren ronaldousso...@mac.com added the comment: Fixed in r80178 (trunk), r80180 (2.6), r80182 (3.2), r80183 (3.1) -- resolution: accepted - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7072] isspace(0xa0) is true on Mac OS X
Changes by Sean Reifschneider j...@tummy.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7072] isspace(0xa0) is true on Mac OS X
Ronald Oussoren ronaldousso...@mac.com added the comment: I've attached a patch that fixes the issue and enables all test_locale tests on OSX 10.6. (I will test if the tests can also be enabled on 10.5 when applying the patch). -- keywords: +needs review, patch resolution: - accepted Added file: http://bugs.python.org/file16481/issue7072.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7072] isspace(0xa0) is true on Mac OS X
Changes by Ned Deily n...@acm.org: -- assignee: - ronaldoussoren components: +Macintosh nosy: +ronaldoussoren versions: -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7072] isspace(0xa0) is true on Mac OS X
New submission from Naoki INADA songofaca...@gmail.com: 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=diffpathrev=43219r1=36792r2=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. -- messages: 93650 nosy: naoki severity: normal status: open title: isspace(0xa0) is true on Mac OS X type: behavior versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com