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 vstinner
Recipients amaury.forgeotdarc, socketpair, vstinner
Date 2011-09-08.23:19:00
SpamBayes Score 2.23822e-07
Marked as misclassified No
Message-id <>
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() :-)
Date User Action Args
2011-09-08 23:19:01vstinnersetrecipients: + vstinner, amaury.forgeotdarc, socketpair
2011-09-08 23:19:01vstinnersetmessageid: <>
2011-09-08 23:19:00vstinnerlinkissue12939 messages
2011-09-08 23:19:00vstinnercreate