[issue8524] SSL sockets do not retain the parent socket's attributes

Antoine Pitrou report at bugs.python.org
Sat Apr 24 23:20:58 CEST 2010


Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8524>
_______________________________________


More information about the Python-bugs-list mailing list