[Python-Dev] SSL support in _socket

Martin v. Loewis martin@v.loewis.de
13 Feb 2002 01:19:44 +0100

"M.-A. Lemburg" <mal@lemburg.com> writes:

> What can we do about this ?

The standard solution is to modify Modules/Setup at installation time,
to suit your local needs.

> Perhaps we should simply let setup.py build two extensions: _socket
> (without SSL) and _socketssl (with SSL) ?! If the _socketssl build
> or import fails for some reason, Python could still pick up the
> _socket extension in socket.py.

-1: Instead of avoiding to use an existing OpenSSL installation, it
would be much better if the socket module was fixed to work with all
existing versions.

Of course, without a precise bug report, we cannot know whether this
was possible.