Message143741
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, socketpair, vstinner |
| Date |
2011年09月08日.23:19:00 |
| SpamBayes Score |
2.2382173e-07 |
| Marked as misclassified |
No |
| Message-id |
<1315523941.29.0.146575875409.issue12939@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
On Windows, Python uses the POSIX API (file descriptors), instead of the native API (file handles). Some features cannot be used using the POSIX API, like setting security attributes. It would be nice to have a io.FileIO using Windows file handlers to get access to all Windows features. It would help feature #12105 to implement "O_CLOEXEC" flag using the lpSecurityAttributes argument.
We can maybe try with a prototype written in Python. Using _pyio.RawIOBase, only readinto(), write(), seek() and truncate() have to be implemented. But it is better to implement also close() :-) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年09月08日 23:19:01 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, socketpair |
| 2011年09月08日 23:19:01 | vstinner | set | messageid: <1315523941.29.0.146575875409.issue12939@psf.upfronthosting.co.za> |
| 2011年09月08日 23:19:00 | vstinner | link | issue12939 messages |
| 2011年09月08日 23:19:00 | vstinner | create |
|