Antoine Pitrou <pitrou at free.fr> added the comment: You can use io.open() instead of open()... ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue5016> _______________________________________