Message178969
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. |
|
| Date |
User |
Action |
Args |
| 2013-01-03 17:36:04 | sbt | set | recipients:
+ sbt, amaury.forgeotdarc, pitrou, vstinner, ezio.melotti, santoso.wijaya, socketpair |
| 2013-01-03 17:36:03 | sbt | set | messageid: <[email protected]> |
| 2013-01-03 17:36:03 | sbt | link | issue12939 messages |
| 2013-01-03 17:36:03 | sbt | create | |
|