[issue4388] test_cmd_line fails on MacOS X
Roumen Petrov
report at bugs.python.org
Sun Nov 30 22:42:57 CET 2008
Roumen Petrov <bugtrack at roumenpetrov.info> added the comment:
"C locale (alias POSIX, ANSI_X3.4-1968) define is 7-bit char-set.
It is expected mbstowcs to return error is a byte sequence contain a
byte > 128.
After quick check into code
(http://svn.python.org/view/python/branches/py3k/Lib/test/test_cmd_line.py?rev=67193&view=auto)
I guess that failure is from command "assert(ord('\xe9') == 0xe9)" (test
is run only on mac os platforms). For the "C" program run is ascii(C,..)
locale is expected conversion of byte \xe9 to wchar_t to return error.
----------
nosy: +rpetrov
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4388>
_______________________________________
More information about the Python-bugs-list
mailing list