Musashi Tamura added the comment: Thanks Mark.
Perhaps, the problem is text-mode handling. When using Windows's text-mode stream, ftell() may return -1 even if no error occured. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20844> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com