[Python-Dev] GPL'd python code vs Python2.6 linked against OpenSSL (original) (raw)

Stefan Behnel stefan_ml at behnel.de
Thu Mar 10 08:01:04 CET 2011


James Y Knight, 10.03.2011 06:52:

But you're also left with not being able to 'import hashlib'. While python has fallback code, those modules (md5, sha, sha256, sha512) aren't built if openssl was found at build time. So you can't just select at runtime that you didn't want to use openssl. Not being able to import hashlib unfortunately makes urllib2 (and a lot of 3rd party packages) fail to import.

Agreed. Could you file a bug report, in case there isn't one yet?

Stefan



More information about the Python-Dev mailing list