[Python-Dev] SSL 1.7
Brett Cannon
brett at python.org
Thu Oct 18 19:57:42 CEST 2007
On 10/18/07, Bill Janssen <janssen at parc.com> wrote:
> > > One thing to watch out for: ssl.SSLError can't
> > > inherit from socket.error, as it does in 2.6+,
> >
> > Why not?
>
> Mainly because I don't see how to get my hands on the C version of
> socket.error. Patches gratefully accepted, though.
For anyone who wants to write the patch, you can obviously either
expose the variable the exception is stored in globally, or you can
import the socket module and just get socket.error directly off of the
module itself.
-Brett
More information about the Python-Dev
mailing list