[Python-Dev] [Python-3000] Python 3000 Sprint @ Google

Bill Janssen janssen at parc.com
Thu Aug 16 03:29:37 CEST 2007


I'd really like an excuse to implement server-side SSL support one of
these days.  Could that be a sprint activity?  Probably against 2.6 (I
doubt the Modules/_ssl.c file will change much for 3K).

The idea is that if you call socket.ssl() on a socket that's bound to
an address, the socket is assumed to be server-side, the cert passed
in is assumed to be a server-side cert, and the SSLObject returned has
a couple of extra methods, listen() and accept().  Calling accept() does
the SSL dance with the remote side, and returns an SSLObject.

Does this need a PEP?

Bill


More information about the Python-Dev mailing list