Message263402
| Author |
vstinner |
| Recipients |
martin.panter, vstinner |
| Date |
2016年04月14日.12:45:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1460637958.44.0.378850303467.issue26721@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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()" |
|
History
|
|---|
| 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 |
|