[issue8321] Give access to openssl version number

Antoine Pitrou report at bugs.python.org
Tue Apr 6 00:05:39 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> >>> import ssl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.7/ssl.py", line 62, in <module>
>     from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION
> ImportError: cannot import name OPENSSL_VERSION_NUMBER

This looks rather unlikely.
Can you type "import _ssl" and then check _ssl.__file__ to see if it's
the one that's just been compiled?
Or did compilation fail?

----------

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


More information about the Python-bugs-list mailing list