Antoine Pitrou <pitrou at free.fr> added the comment: Certainly a bug indeed. ---------- components: +IO -Unicode nosy: +pitrou priority: -> high _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue8438> _______________________________________