[Python-Dev] PEP 446: Add new parameters to configure the inherance of files and for non-blocking sockets (original) (raw)

Victor Stinner victor.stinner at gmail.com
Thu Jul 4 13:19:01 CEST 2013


2013/7/4 Victor Stinner <victor.stinner at 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.

Victor



More information about the Python-Dev mailing list