STINNER Victor added the comment: Right. The workaround is to encode manually the filename:
filename = filename.encode(sys.getfilesystemencoding()) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25404> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com