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

Марк Коренберг report at bugs.python.org
Fri May 20 06:55:48 CEST 2011


Марк Коренберг <socketpair at gmail.com> added the comment:

Why not to implement 'e' letter in py3k ?

In systems where O_CLOEXEC is not supported in open(), flag should be set non-atomically using fcntl.

To exclude races (in concurrent threads), this two ops should be done under lock (GIL?)

----------

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


More information about the Python-bugs-list mailing list