[Python-Dev] SSL support in _socket (original) (raw)

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.

Regards, Martin