[Python-Dev] Implementation of the PEP 433

Victor Stinner victor.stinner at gmail.com
Fri Jan 25 00:20:28 CET 2013


Hi,

I implemented the PEP 433 in the following repository:
http://hg.python.org/features/pep-433

You can use it if you would like to experiment/test the PEP 433.

PEP 433: "Easier suppression of file descriptor inheritance"
http://www.python.org/dev/peps/pep-0433/

I added a PYTHONCLOEXEC environment variable, an "-e" option and
sys.setdefaultcloexec() function. At startup, the default value of
cloexec parameter is False.

I tested my implementation on Linux, Windows, Mac OS X, FreeBSD,
OpenBSD and OpenIndiana.

Victor


More information about the Python-Dev mailing list