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-12.15:13:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358003611.6.0.311089904397.issue12939@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2013-01-12 15:13:32sbtsetrecipients: + sbt, amaury.forgeotdarc, pitrou, vstinner, ezio.melotti, santoso.wijaya, socketpair
2013-01-12 15:13:31sbtsetmessageid: <1358003611.6.0.311089904397.issue12939@psf.upfronthosting.co.za>
2013-01-12 15:13:31sbtlinkissue12939 messages
2013-01-12 15:13:31sbtcreate