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

James Y Knight foom at fuhm.net
Thu Aug 16 06:06:32 CEST 2007


On Aug 15, 2007, at 9:29 PM, Bill Janssen wrote:

> 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?

Maybe one of the three existing Python/SSL libraries should be stdlib- 
ified instead of starting another new one from scratch?

Just a thought...

James



More information about the Python-Dev mailing list