On 4 Jul, 2013, at 13:19, Victor Stinner <victor.stin...@gmail.com> wrote:
> 2013/7/4 Victor Stinner <victor.stin...@gmail.com>: >> Add a new optional *cloexec* on functions creating file descriptors: >> >> * ``io.FileIO`` >> * ``io.open()`` >> * ``open()`` > > The PEP 433 proposes adding an "e" mode to open in alternatives. I > didn't keep this idea because the fopen() function of the GNU libc > library has no mode for the O_NONBLOCK flag. IMO it is not interesting > to mention it in the PEP 466. I don't understand your reasoning, that is what has GNU libc to do with adding "e" mode to io.open? BTW. I have no particular fondness for an "e" flag, adding a clo_exec flag would be fine and I'm just curious. Ronald _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com