[Python-Dev] SSL 1.7

Bill Janssen janssen at parc.com
Thu Oct 18 20:22:11 CEST 2007


> For anyone who wants to write the patch, you can obviously either
> expose the variable the exception is stored in globally,

Remember that this is an add-on module, so re-compiling the socket
module code to expose the variable globally would be a rather big
change.  Or so it seemed to me when I thought about it.

> you can
> import the socket module and just get socket.error directly off of the
> module itself.

This is feasible.

Bill




More information about the Python-Dev mailing list