hillpd <hil...@gmail.com> added the comment: Blocking the use of stdin/stdout like this looks intentional. I have added dimaqq and asvetlov for comment.
The python docs [0] indicate that the file descriptor should be a socket: "The file descriptor should refer to a socket, but this is not checked — subsequent operations on the object may fail if the file descriptor is invalid." With bpo-35415, the fd is explicitly checked. [0] https://docs.python.org/3/library/socket.html#socket.fromfd ---------- nosy: +Dima.Tisnek, asvetlov, hillpd _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39685> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com