Antoine Pitrou <[email protected]> added the comment: > > Simply buffer everything. > > That works for when a write operation would block. What would it do > when a read operation would block?
Good question. It could either return an empty bytes object, or perhaps raise EOFError (it could be a constructor argument). ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue9939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
