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 sbt
Recipients amaury.forgeotdarc, ezio.melotti, pitrou, santoso.wijaya, sbt, socketpair, vstinner
Date 2013-01-06.13:59:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357480758.84.0.686871679817.issue12939@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-01-06 13:59:19sbtsetrecipients: + sbt, amaury.forgeotdarc, pitrou, vstinner, ezio.melotti, santoso.wijaya, socketpair
2013-01-06 13:59:18sbtsetmessageid: <1357480758.84.0.686871679817.issue12939@psf.upfronthosting.co.za>
2013-01-06 13:59:18sbtlinkissue12939 messages
2013-01-06 13:59:18sbtcreate