Roumen Petrov <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue4388> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com