[issue15356] '\xa0' isspace returns true while compiling python on solaris 10 by users using gcc 3.4.6

2012-07-14 Thread zoupl

New submission from zoupl :

Compile python (from 2.4.6 to version 2.6.8) on solaris 5.10 sparc using gcc 
3.4.6. When using UTf-8, the \xa0 is a space. Howeve this is wrong. Version 2.7 
is OK.

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

--
components: Unicode
messages: 165486
nosy: ezio.melotti, zoupl
priority: normal
severity: normal
status: open
title: '\xa0' isspace returns true while compiling python on solaris 10 by 
users using gcc 3.4.6
versions: Python 2.6

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



[issue15356] '\xa0' isspace returns true while compiling python on solaris 10 by users using gcc 3.4.6

2012-07-14 Thread zoupl

zoupl  added the comment:

Could you please tell me the way to deal with this is version 2.7?

--

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



[issue15356] '\xa0' isspace returns true while compiling python on solaris 10 by users using gcc 3.4.6

2012-07-15 Thread zoupl

zoupl  added the comment:

No, i mean it works ok on version 2.7. However, what I want to know is the way 
that works in version2.7, because I want to try to fix it in version 2.6.

--

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



[issue15356] '\xa0' isspace returns true while compiling python on solaris 10 by users using gcc 3.4.6

2012-07-15 Thread zoupl

zoupl  added the comment:

I have just tried on solaris. I will try the solution of issue 1571184, thanks 
a lot.

--

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