diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-04-17 16:51:52 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-04-17 16:51:52 +0200 |
commit | a858bbde03638e3145894029dbc40d3d777be24f (patch) | |
tree | 31a6a4da0c0e64ee88a8ce0f26a1ee8ae2fb06cd /Python/ast.c | |
parent | b6a9c9761ca988e1ab69defd45433fac0b2ff89c (diff) | |
download | cpython-git-a858bbde03638e3145894029dbc40d3d777be24f.tar.gz |
Avoid fcntl() if possible in set_inheritable()
Issue #26770: set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC
is already set/cleared. This change only impacts platforms using the fcntl()
implementation of set_inheritable() (not Linux nor Windows).
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions