Antoine Pitrou <pit...@free.fr> added the comment: > Here's an implementation of read1() that satisfies that condition, along with > some relevant unit tests.
Something looks fishy: what happens if size is -1 and EOFError is not raised? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10791> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com