Message179809
Attached is a new patch which is implemented completely in C.
It adds a WinFileIO class to the io module, which has the same API
as FileIO except that:
* It has a handle attribute instead of a fileno() method.
* It has staticmethods openhandle() and closehandle() which are
analogues of os.open() and os.close().
The patch also adds a keyword-only "rawfiletype" argument to
io.open() so that you can write
f = open("somefile", "w", rawfiletype=WinFileIO) |
|
Date |
User |
Action |
Args |
2013-01-12 15:13:32 | sbt | set | recipients:
+ sbt, amaury.forgeotdarc, pitrou, vstinner, ezio.melotti, santoso.wijaya, socketpair |
2013-01-12 15:13:31 | sbt | set | messageid: <1358003611.6.0.311089904397.issue12939@psf.upfronthosting.co.za> |
2013-01-12 15:13:31 | sbt | link | issue12939 messages |
2013-01-12 15:13:31 | sbt | create | |
|