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:58vstinnersetrecipients: + vstinner, martin.panter
2016-04-14 12:45:58vstinnersetmessageid: <1460637958.44.0.378850303467.issue26721@psf.upfronthosting.co.za>
2016-04-14 12:45:58vstinnerlinkissue26721 messages
2016-04-14 12:45:58vstinnercreate