STINNER Victor <victor.stin...@gmail.com> added the comment: > sock.type == socket.SOCK_STREAM
Oh, right. I wrote PR 4233 to fix the code. Yury: "Good catch. I made a PR to fix this." Oops. If you wrote a PR, would it mind to compare it with mine, please? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com