Message263402
> I recall a "write1" function which was well defined: limited to 1 syscall, don't try (or maybe only on the very specific case of EINTR). But I'm not sure that it still exists in the io module of Python 3.
Oops, in fact it is read1:
https://docs.python.org/dev/library/io.html#io.BufferedIOBase.read1
"Read and return up to size bytes, with at most one call to the underlying raw stream’s read()" |
|
Date |
User |
Action |
Args |
2016-04-14 12:45:58 | vstinner | set | recipients:
+ vstinner, martin.panter |
2016-04-14 12:45:58 | vstinner | set | messageid: <1460637958.44.0.378850303467.issue26721@psf.upfronthosting.co.za> |
2016-04-14 12:45:58 | vstinner | link | issue26721 messages |
2016-04-14 12:45:58 | vstinner | create | |
|