This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients MartinHusemann, leot, vstinner, wiz, xdegaye
Date 2019-10-22.23:30:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 <>
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.
Date User Action Args
2019-10-22 23:30:03vstinnersetrecipients: + vstinner, wiz, xdegaye, MartinHusemann, leot
2019-10-22 23:30:02vstinnersetmessageid: <>
2019-10-22 23:30:02vstinnerlinkissue33384 messages
2019-10-22 23:30:02vstinnercreate