This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients YoSTEALTH, ned.deily, nitishch, njs, pitrou, vstinner
Date 2018-01-27.01:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517017144.56.0.467229070634.issue31368@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine Pitrou: "In any case, I think this would take the form of new low-level calls in the posix module, i.e. add thin wrappers around the new system / libc calls."

"new system / libc calls"... well, preadv() is available on FreeBSD since FreeBSD 6 :-) And preadv() and pwritev() first appeared in Linux 2.6.30; library support was added in glibc 2.10. It's not really something "new".

It seems like the two functions became more interesting for Python since Linux implemented the new RWF_NONBLOCK flag. aiofiles can be used to bypass its thread-pool, for better performances.
History
Date User Action Args
2018-01-27 01:39:04vstinnersetrecipients: + vstinner, pitrou, ned.deily, njs, YoSTEALTH, nitishch
2018-01-27 01:39:04vstinnersetmessageid: <1517017144.56.0.467229070634.issue31368@psf.upfronthosting.co.za>
2018-01-27 01:39:04vstinnerlinkissue31368 messages
2018-01-27 01:39:03vstinnercreate