Message179181
Attached is a patch which adds a winio module which is a replacement for io, but uses windows handles instead of fds.
It reimplements FileIO and open(), and provides openhandle() and closehandle() as replacements for os.open() and os.close().
test_io has been modified to exercise winio (in addition to _io and _pyio) and all the tests pass.
Note that some of the implementation (openhandle(), open(), FileIO.__init__()) is still done in Python rather than C. |
|
Date |
User |
Action |
Args |
2013-01-06 13:59:19 | sbt | set | recipients:
+ sbt, amaury.forgeotdarc, pitrou, vstinner, ezio.melotti, santoso.wijaya, socketpair |
2013-01-06 13:59:18 | sbt | set | messageid: <1357480758.84.0.686871679817.issue12939@psf.upfronthosting.co.za> |
2013-01-06 13:59:18 | sbt | link | issue12939 messages |
2013-01-06 13:59:18 | sbt | create | |
|