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

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

[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/issue15

[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/issue15