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

2012-07-15 Thread zoupl
zoupl zoupen...@gmail.com 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 rep...@bugs.python.org http

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

2012-07-15 Thread zoupl
zoupl zoupen...@gmail.com added the comment: I have just tried on solaris. I will try the solution of issue 1571184, thanks a lot. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15356

[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 zoupen...@gmail.com: 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

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

2012-07-14 Thread zoupl
zoupl zoupen...@gmail.com added the comment: Could you please tell me the way to deal with this is version 2.7? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15356