STINNER Victor <vstin...@python.org> added the comment:
I'm quite that this issue has been fixed by bpo-30225 which is part Python 3.7.4, Python 3.8.0 and newer. I mark the issue as duplicate of bpo-30225. Please reopen the bug if these versions still fail on NetBSD. commit 1c4670ea0cc3d208121af11b9b973e6bb268e570 Author: Victor Stinner <victor.stin...@gmail.com> Date: Thu May 4 00:45:56 2017 +0200 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. ---------- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> EBADF error on x86 Tiger 3.x buildbot title: Build does not work with closed stdin -> Build does not work with closed stdin on NetBSD _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33384> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com