A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-October/074957.html below:

[Python-Dev] SSL 1.7

[Python-Dev] SSL 1.7 [Python-Dev] SSL 1.7Brett 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4