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-January/123558.html below:

[Python-Dev] Set close-on-exec flag by default in SocketServer

[Python-Dev] Set close-on-exec flag by default in SocketServer [Python-Dev] Set close-on-exec flag by default in SocketServerVictor Stinner victor.stinner at gmail.com
Thu Jan 10 03:16:11 CET 2013
2013/1/10 Victor Stinner <victor.stinner at gmail.com>:
> A better API is maybe to add a "cloexec" argument to open(), ...

I realized that setting close-on-exec flag is a non trivial problem.
There are many ways to set it depending on the function, on the OS,
and on the OS version. There is also the difficult question of the
"default value".

I started to work on a PEP:
https://bitbucket.org/haypo/misc/src/tip/python/pep_cloexec.rst

Contact me if you would like to contribute.

Victor
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