STINNER Victor <victor.stin...@haypocalc.com> added the comment:

New version of the patch:
 - decode_mbcs() calls raise_translate_exception() to set the error (in the 
previous patch, I'm not sure that the error was set)
 - include #8784 patch (tarfile uses utf-8 as the default encoding)
 - ctypes: use mbcs is strict mode instead of ignore mode. This is just a 
workaround, the real fix is to remove the implicit conversion between bytes and 
characters: see #8966

The patch requires #8969 patch (use mbcs in strict mode to encode/decode 
filenames).

----------
Added file: http://bugs.python.org/file17622/mbcs_errors-py3k-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue850997>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to