2013/1/7 Victor Stinner <victor.stinner@gmail.com>:
> Hi,I'm not sure it's worth cluttering the open() interface with such a
>
> I would like add a new flag to open() mode to close the file on exec:
> "e". This feature exists using different APIs depending on the OS and
> OS version: O_CLOEXEC, FD_CLOEXEC and O_NOINHERIT. Do you consider
> that such flag would be interesting?
non-portable option. People requiring such control should use the
low-level os.open interface.