Yury Selivanov <yseliva...@gmail.com> added the comment: I've merged the PR.
Summary of the final change: 1. socket.socket(family, type, proto) constructor clears SOCK_NONBLOCK and SOCK_CLOEXEC from 'type' before assigning it to 'sock.type'. 2. socket.socket(family, SOCK_STREAM | SOCK_NONBLOCK) will still create a non-blocking socket. 3. socket.setblocking() no longer sets/unsets SOCK_NONBLOCK flag on sock.type. This is 3.7 only change. Big thanks to Nathaniel and Victor for the help! ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32331> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com