A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-July/127172.html below:

Add new parameters to configure the inherance of files and for non-blocking sockets

[Python-Dev] PEP 446: Add new parameters to configure the inherance of files and for non-blocking sockets [Python-Dev] PEP 446: Add new parameters to configure the inherance of files and for non-blocking socketsRonald Oussoren ronaldoussoren at mac.com
Thu Jul 4 13:52:59 CEST 2013
On 4 Jul, 2013, at 13:19, Victor Stinner <victor.stinner at gmail.com> wrote:

> 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.

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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4