Author martin.panter
Recipients RadicalZephyr, docs@python, martin.panter, twouters
Date 2015-10-07.06:46:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444200387.06.0.572230946001.issue22865@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-10-07 06:46:27martin.pantersetrecipients: + martin.panter, twouters, docs@python, RadicalZephyr
2015-10-07 06:46:27martin.pantersetmessageid: <1444200387.06.0.572230946001.issue22865@psf.upfronthosting.co.za>
2015-10-07 06:46:27martin.panterlinkissue22865 messages
2015-10-07 06:46:26martin.pantercreate