[Python-ideas] Atomic file.get(offset, length)
Guido van Rossum
guido at python.org
Mon Jul 23 00:36:44 CEST 2012
On Sun, Jul 22, 2012 at 2:25 PM, Victor Stinner
<victor.stinner at gmail.com> wrote:
>> "man pread" on OS/X suggests it exists there too
>
> "man pread" or "import os; help(os.pread" ;-) pread() and pwrite()
> have been added to Python 3.3.
Awesome. :-) But does the io module offer an API that uses it? It's
kind of awkward to have to call os.pread() with stream.fileno() as an
argument.
--
--Guido van Rossum (python.org/~guido)
More information about the Python-ideas
mailing list