commit | e6376f8849175789c371f292f896ecdccb88b5b1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Aug 20 11:08:18 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Aug 20 11:08:18 2010 +0000 |
tree | 4f2405b8715f78432c2143641c4a472aed075a6b | |
parent | 89d8f82d01b7d0191c07d5553979ffe53d55cf6e [diff] |
test_main_invalid_unicode() of test_sys: print string as ascii There are buildbot failures on "x86 FreeBSD 3.x" and "sparc solaris10 gcc 3.x". I suppose that _Py_char2wchar() doesn't fail even if the locale encoding is unable to decode the byte string, because _Py_char2wchar() has a special mode for platform without mbrtowc() (ISO C99) function. Let's check my theory by avoid error on the Python print() instruction.