summaryrefslogtreecommitdiff
path: root/Include/internal/pycore_ceval.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-17 18:09:12 +0200
committerGitHub <noreply@github.com>2019-04-17 18:09:12 +0200
commit3092d6b2630e4d2bd200fbc3231c27a7cba4d6b2 (patch)
treeb90469ff79cd989ce19da53c66af2890b79fa9ce /Include/internal/pycore_ceval.h
parent197f0447e3bcfa4f529fedab09966d7e3d283979 (diff)
downloadcpython-git-3092d6b2630e4d2bd200fbc3231c27a7cba4d6b2.tar.gz
bpo-32849: Fix is_valid_fd() on FreeBSD (GH-12852)
Fix Python Initialization code on FreeBSD to detect properly when stdin file descriptor (fd 0) is invalid. On FreeBSD, fstat() must be used to check if stdin (fd 0) is valid. dup(0) doesn't fail if stdin is invalid in some cases.
Diffstat (limited to 'Include/internal/pycore_ceval.h')
0 files changed, 0 insertions, 0 deletions