[issue12876] Make Test Error : ImportError: No module named _sha256

Amaury Forgeot d'Arc report at bugs.python.org
Fri Sep 2 09:29:06 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

The setup.py script does not look correct when openssl is not installed:
the _sha256 and _sha512 modules are compiled under this condition::
    if COMPILED_WITH_PYDEBUG or openssl_ver < min_sha2_openssl_ver:

By comparison, the _md5 module adds the condition: "or not have_usable_openssl"

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12876>
_______________________________________


More information about the Python-bugs-list mailing list