summaryrefslogtreecommitdiffstats
path: root/Lib/code.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-03 22:45:56 (GMT)
committerGitHub <noreply@github.com>2017-05-03 22:45:56 (GMT)
commit1c4670ea0cc3d208121af11b9b973e6bb268e570 (patch)
tree350e988ac5ac455bf51d1e775b8a1b430eab5760 /Lib/code.py
parent5f161fd86dd5bb936a1a2a13391b13b7e59ec201 (diff)
downloadcpython-1c4670ea0cc3d208121af11b9b973e6bb268e570.zip
cpython-1c4670ea0cc3d208121af11b9b973e6bb268e570.tar.gz
cpython-1c4670ea0cc3d208121af11b9b973e6bb268e570.tar.bz2
bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443)
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.
Diffstat (limited to 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions