INADA Naoki <[email protected]> added the comment: Document of socket.type says:
The socket type. https://docs.python.org/3/library/socket.html#socket.socket.type OK, so, are SOCK_CLOEXEC and SOCK_NONBLOCK socket type? These two constants, if defined, can be combined with the socket types and allow you to set some flags atomically... https://docs.python.org/3/library/socket.html#socket.SOCK_CLOEXEC So they are not socket type. They are constants which can be used for setting some flags. Regarding to this document, I think this can be bugfix rather than behavior change. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32331> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
