summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/subprocess.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-04 11:21:10 (GMT)
committerGitHub <noreply@github.com>2017-05-04 11:21:10 (GMT)
commit31906b42fd71c6baaf80429005c720b40dfe8fae (patch)
tree15d8a073f42f98e76a627aec18768bdd3d43f5fc /Lib/asyncio/subprocess.py
parent1bebd8a21948652a5f941c550dec06ea84d1d979 (diff)
downloadcpython-31906b42fd71c6baaf80429005c720b40dfe8fae.zip
cpython-31906b42fd71c6baaf80429005c720b40dfe8fae.tar.gz
cpython-31906b42fd71c6baaf80429005c720b40dfe8fae.tar.bz2
bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) (#1449)
is_valid_fd() now uses fstat() instead of dup() on macOS to return 0 on a pipe when the other side of the pipe is closed. fstat() fails with EBADF in that case, whereas dup() succeed. (cherry picked from commit 1c4670ea0cc3d208121af11b9b973e6bb268e570)
Diffstat (limited to 'Lib/asyncio/subprocess.py')
0 files changed, 0 insertions, 0 deletions