STINNER Victor added the comment: The best "workaround" on Python 2.7 is to specify the encoding: replace io.open(filename) with io.open(filename, encoding="utf8").
It's always better to specify the encoding ;-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30338> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com