Martin Panter added the comment: I would avoid suggesting one can return non-byte-strings; treat that as an implementation detail. Maybe something like:
The functions *master_read* and *stdin_read* are passed a file descriptor which they should read from, and should return a byte string. The defaults try to read 1024 bytes each time they are called. Returning an empty string is be interpreted as an EOF condition, and the *_read* function will no longer be called. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22865> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com