Message178969
| Author |
sbt |
| Recipients |
amaury.forgeotdarc, ezio.melotti, pitrou, santoso.wijaya, sbt, socketpair, vstinner |
| Date |
2013年01月03日.17:36:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1357234563.71.0.839388564319.issue12939@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attached is a module for Python 3.3+ which subclasses io.RawIOBase. The constructor signature is
WinFileIO(handle, mode="r", closehandle=True)
where mode is "r", "w", "r+" or "w+". Handles can be created using _winapi.CreateFile().
Issues:
- No support for append mode.
- Truncate is not atomic. (Is atomicity supposed to be guaranteed?)
- Not properly tested. |
|