commit | ebe53a23c9edc8f01fa261f9ea8e358b1ad481a2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Aug 24 23:05:51 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Aug 24 23:05:51 2010 +0000 |
tree | 691137c8a8ca89a5e12c519490fc75be22da0eca | |
parent | 8515eaefda6348a72464805ff8d07041d16ab97d [diff] |
Fix test_sys for FreeBSD, Solaris and Mac OS X _Py_char2wchar() (mbctowcs) decodes b'\xff' to '\xff' on FreeBSD, Solaris and Mac OS X, even if the locale is C (and the locale encoding is ASCII). Patch test_undecodable_code() to support this output and document the two different kinds of outputs.