mirror of
https://github.com/python/cpython.git
synced 2026-07-10 20:13:20 -04:00
1c4670ea0c
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.
Miscellaneous source files for the main Python shared library