STINNER Victor <vstin...@redhat.com> added the comment:

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.

----------
nosy: +vstinner
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue26480>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to