Antoine Pitrou added the comment: This sounds ok on the principle. I suppose one can't simply wrap the "fp" inside a BufferedReader? I think it would be good to add tests for the peek() implementation, though.
---------- nosy: +orsenthil, pitrou, serhiy.storchaka stage: -> patch review versions: +Python 3.4 -Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19009> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com