Raúl Cumplido added the comment: @haypo Would you expect the new function to return a tuple?
i.e: >>> socket.get_socket_type(sock) (socket.SOCK_STREAM, socket.SOCK_NONBLOCK) >>> socket.get_socket_type(sock2) (socket.SOCK_STREAM,) ---------- nosy: +raulcd _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com