Antoine Pitrou <pitrou at free.fr> added the comment: By the way, the patch won't work with unseekable files, which is probably bad. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3873> _______________________________________