/arry
   ">

(original) (raw)

On 01/29/2013 09:00 AM, Victor Stinner wrote:
Hi,

Here is a new version of my PEP 433.
[...]
* ``os.get_cloexec(fd)``
* ``os.set_cloexec(fd, cloexec=True)``
* ``sys.getdefaultcloexec()``
* ``sys.setdefaultcloexec(cloexec=True)``





Passing no judgment on the PEP otherwise, just a single observation:
the "cloexec" parameter to "sys.setdefaultcloexec" should not have a
default.





/arry