Martin v. Löwis <mar...@v.loewis.de> added the comment: > Ok, here is a patch which prefers the default timeout (if set) over fixing of > inherited flags. Tested under Linux, Windows, OpenSolaris.
This patch looks fine to me. Please also update the accept documentation to explain the situation (new socket gets default timeout if given, else is blocking if server socket has timeout, else inherits flags according to system defaults). I then think that gettimeout is also incorrect: it really fetch the O_NONBLOCK flag from the socket. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com