[Python-Dev] PEP 433: second try

Larry Hastings larry at hastings.org
Wed Jan 30 02:00:47 CET 2013


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130129/b994b7f3/attachment.html>


More information about the Python-Dev mailing list