Thanks, Audun. If you look at the code, you'll see that both a connect method and a do_handshake method already exist, and work pretty much as you describe. The issue is what to do when the user doesn't use them -- specifies do_handshake_on_connect=True.
> Another way of doing it could be to expose a connect() method on the ssl > objects. It changes the socket.ssl api, but I'd say it is in the same > spirit as the do_handshake_on_connect parameter since no existing code > will break. The caller then calls connect() until it does not return Bill _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com