Antoine Pitrou <pit...@free.fr> added the comment: Another consequence is that the following check in __init__:
timeout = self.gettimeout() if timeout == 0.0: # non-blocking raise ValueError("do_handshake_on_connect should not be specified for non-blocking sockets") could never get triggered since the timeout is reset to None by virtue of creating a new socket object. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8524> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com