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

Amaury Forgeot d'Arc report at bugs.python.org
Wed May 18 22:57:09 CEST 2011


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

These "needed" flags are actually nonstandard extensions of the libc fopen() function on some platforms.

In python3, one can still use fcntl(f.fileno(), FD_SET, FD_CLOEXEC), but a "flags" parameter would be more convenient.

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list