STINNER Victor added the comment: > 1) Is not yet possible for me unfortunately, some libraries I require are not > yet available for Python 3 (but in the long run, this would be my preferred > solution)
I'm curious, which libraries? Oh, I forgot to say that it's not possible to fix this issue in Python 2. Backporting the PEP 383 in Python 2 requires deep changes in the Unicode machinery, starting by the UTF-8 codec. Currently, the UTF-8 encoder encodes surrogates which violates Unicode standard and makes impossible to use this codec with the surrogateescape error handler. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22862> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com