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

STINNER Victor report at bugs.python.org
Tue Sep 6 13:37:41 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Windows provides a _get_osfhandle() function. There is not the opposite function? :-)

Anyway, O_CLOEXEC is not available on all platforms. Even on FreeBSD and Linux, it depends on the OS/kernel version.

----------

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


More information about the Python-bugs-list mailing list