Antoine Pitrou <pit...@free.fr> added the comment: > What value should we assign to sock->sock_timeout if SOCK_NONBLOCK was > specified in accept4() call?
The same value as for other non-blocking sockets, IMO. > And in socket.py should we check as in original accept: > if getdefaulttimeout() is None and self.gettimeout(): > sock.setblocking(True) I don't think so, since the whole point of accept4() is to override normal flags creation. ---------- versions: +Python 3.3 -Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10115> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com