Message252453
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. |
|
| Date |
User |
Action |
Args |
| 2015-10-07 06:46:27 | martin.panter | set | recipients:
+ martin.panter, twouters, docs@python, RadicalZephyr |
| 2015-10-07 06:46:27 | martin.panter | set | messageid: <1444200387.06.0.572230946001.issue22865@psf.upfronthosting.co.za> |
| 2015-10-07 06:46:27 | martin.panter | link | issue22865 messages |
| 2015-10-07 06:46:26 | martin.panter | create | |
|