diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-24 23:05:51 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-24 23:05:51 +0000 |
commit | ebe53a23c9edc8f01fa261f9ea8e358b1ad481a2 (patch) | |
tree | 691137c8a8ca89a5e12c519490fc75be22da0eca /Python/structmember.c | |
parent | 8515eaefda6348a72464805ff8d07041d16ab97d (diff) | |
download | cpython-git-ebe53a23c9edc8f01fa261f9ea8e358b1ad481a2.tar.gz |
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.
Diffstat (limited to 'Python/structmember.c')
0 files changed, 0 insertions, 0 deletions