[issue7072] isspace(0xa0) is true on Mac OS X

2010-04-18 Thread Ronald Oussoren

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

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

2010-03-20 Thread Sean Reifschneider

Changes by Sean Reifschneider :


--
priority:  -> normal

___
Python tracker 

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

2010-03-07 Thread Ronald Oussoren

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

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

2009-11-10 Thread Ned Deily

Changes by Ned Deily :


--
assignee:  -> ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren
versions:  -Python 3.0

___
Python tracker 

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

2009-10-06 Thread Naoki INADA

New submission from Naoki INADA :

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.

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

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com