[issue12105] open() does not able to set flags, such as O_CLOEXEC

Amaury Forgeot d'Arc report at bugs.python.org
Tue Sep 6 13:29:33 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

> O_CLOEXEC is not linux-only. Windows has the same flag.
> In file-opening functions there is lpSecurityAttributes argument

How do you suggest to use it? Even on Windows, python calls open(). And lpSecurityAttributes is an argument of CreateFile (which is the win32 kernel function that open() calls)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12105>
_______________________________________


More information about the Python-bugs-list mailing list