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 vstinner, yuriy_levchenko
Date 2019-05-15.02:59:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557889199.2.0.593802384728.issue26480@roundup.psfhosted.org>
In-reply-to
Content
create_stdio() checks if the file descriptor is valid:

    if (!is_valid_fd(fd))
        Py_RETURN_NONE;

This function is_valid_fd() has been fixed recently on FreeBSD.

It's unclear to me why and how Python fails to create standard streams. Without more information, we cannot investigate. But since this issue has no activity for 3 years, I close. Reopen it if you still reproduce the issue and you can provide more information.

In the meanwhile, I suggest you to test the first alpha releases of Python 3.8.
History
Date User Action Args
2019-05-15 02:59:59vstinnersetrecipients: + vstinner, yuriy_levchenko
2019-05-15 02:59:59vstinnersetmessageid: <1557889199.2.0.593802384728.issue26480@roundup.psfhosted.org>
2019-05-15 02:59:59vstinnerlinkissue26480 messages
2019-05-15 02:59:59vstinnercreate